19 Jul 01:10
Problem with color codes
From: Richard Hartmann <richih.mailinglist <at> gmail.com>
Subject: Problem with color codes
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-18 23:12:48 GMT
Expires: This article expires on 2008-08-02
Subject: Problem with color codes
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-07-18 23:12:48 GMT
Expires: This article expires on 2008-08-02
Hi all,
I switched from old, hardcoded color variables over to the colors function.
For some reason, this confuses zsh when calculating the width of my
prompt. It is worth nothing that RPS1 is also affected even though
echo $((${COLUMNS} - 1))
shows the correct width. I am attaching a screenshot with 7 kiB. I
really do hope that is OK, if not, please feel free to cuss at me. My
$PS1 and $RPS1 defintion files are attached, as well.
ZSH 4.3.4 & 4.3.6 show the same behaviour, I could not find any
other versions to test with.
Thanks for all input,
Richard
RSS Feed