Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh prompt eates up my screen :)
- X-seq: zsh-workers 26984
- From: JÃrg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: zsh prompt eates up my screen :)
- Date: Sat, 23 May 2009 14:44:05 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1243090014; i=@xxxxxxxxxxxx; bh=ITdZ7ZLHzIpQriGUePOn0JiAqGpgvv1Hi XGarKJEE+8=; h=To:From:Subject:Date:Message-ID:Mime-Version: Content-Type:Content-Transfer-Encoding:Sender; b=UigkrmP1Umaix/ACI LxEym2MiS9gasWMiZV6omYIfZflxXLv57r4ywR0OQRMLVGZwv7jyJAVUGl1myKAXRln xE6E072CaPfPJNZO9CMXfS6HkDfy0pG9lS2BKMZ3/NsibddO4Vi5/vGxebmSgtrrXsL FSUAkbwxoHVwt9z6ZBE4=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxx>
Hi,
try this:
% zsh -f
ibook% TRAPALRM() { PS1=${(l:$COLUMNS::xx:)}$'\nline 2%% '; zle reset-prompt; }
ibook% TMOUT=2
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 2%
At me (4.3.9), the line with the xs walks up into the first line of the
screen and stays there. If I use fewer than $COLUMNS characters in the
line, it works as expected. It looks like a length calculation is wrong.
Bye, JÃrg.
--
Dein Gesicht wird dir geschenkt. LÃcheln musst du selber! (Inga Hermann)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author