From 4678c9b8878aadb905fe63b5a3972b00ed237ee3 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 19 Jan 2012 17:42:28 +0100 Subject: [Funcs] more termcaps cleanup, more beautiful fallback --- 01_Functions.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '01_Functions.zsh') diff --git a/01_Functions.zsh b/01_Functions.zsh index d942dab..0351b9e 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -102,15 +102,15 @@ preprint() hbar=$T_ for i in {1..$((74 - ${#1} - 5))} do - hbar=${hbar}$_t_q + hbar=${hbar}$_tq_ done hbar=${hbar}$_T if [ "$1" != "" ] then - print -Pn "${C_}$my_color;1${_C}${hbar}$T_$_t_u$_T${C_}0;$my_color${_C} $1 ${C_}0;$my_color;1${_C}$T_$_t_t$_t_q$_T\r${C_}0${_C}" + print -Pn "${C_}$my_color;1${_C}${hbar}$T_$_tj_$_T${C_}0;$my_color${_C} $1 ${C_}0;$my_color;1${_C}$T_$_tm_$_tq_$_T\r${C_}0${_C}" else - print -Pn "${C_}$my_color;1${_C}${hbar}$T_$_t_q$_t_q$_t_q$_t_q$_t_q$_T${C_}0${_C}" + print -Pn "${C_}$my_color;1${_C}${hbar}$T_$_tq_$_tq_$_tq_$_tq_$_tq_$_T${C_}0${_C}" fi } -- cgit v1.2.3