Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
TTY output mangling when userdirs populated by tab expansion
- X-seq: zsh-workers 25325
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: TTY output mangling when userdirs populated by tab expansion
- Date: Mon, 21 Jul 2008 17:09:41 -0700
- Cc: dackze@xxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=d200807; d=spodhuis.org; h=Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:MIME-Version:Content-Type:Content-Disposition; b=WeBWbVHAD7f0VhPocTZo3sNxu1VDJtsFGDYqM/pZIAXxZ/q+9i4Z7MOyCoStELSVjVWOqy8lZN1n+dgDMMsQOut0X9bHyUhtc3LEEWITt9PluxMA9p/lhAXrVWVgGCYA86t6DWvEwx3iU86p9k9RdpNTWiYaydgrrudEou+4zIY=;
- Mail-followup-to: zsh-workers@xxxxxxxxxx, dackze@xxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Confirmed with a fairly recent CVS-built zsh binary:
...% ./dbg/bin/zsh -f
redoubt% PS1='%?[%y]%~%# '
0[ttyp4]~% cd /var/home/docs
0[ttyp4]/var/home/docs% <hit enter to get a preserved line>
[type: cd ~<tab>]
0[ttyp4]/var/hocd ~
[hit ^C]
1[ttyp4]~docs%
It looks as though the line-length gets recalculated and the post-prompt
stuff redrawn without the prompt being redrawn, so the text overlays the
prompt and everything is confusing and ugly.
-Phil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author