Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
\e[0K dilemma
- X-seq: zsh-users 12851
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: \e[0K dilemma
- Date: Fri, 16 May 2008 23:50:29 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=4v+Hk6Va+CX0AGgvjEdPt6b6ad1chp5z0DEeSaNwcS8=; b=Oa5sH0xHpODbrubkSbkxWZ6eGToQ2v6SFjKdkFdMMYUVGl/rqZDWHaPwd0YmtHvVjhTOuio5IasDD3kTXS0O8X0zSWTxMv41CFmptasOuXOBTqlOIGgkmErsxKm2z1jfvjRq9F9Ugizfu1dG8QHmO9rT2uUWoQgHVFBUcWINa7E=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pfJJdB3cw1RYAJJzKYm9P70LpKFLTsrbYs/BZ4eUZyQVcIZa9d/F4AwSH49YEo6Gmc+idv+XAuJzk/hVH005zDfegVevqUBdDQRGdyNOevDiZG/Np9q2L7SRcUBsmAS1cuUpjpjyMBgOz5YFYtb1c6GWcqPQkXI4QyoPLfIDP1s=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I currently have ENDCODE in .dircolors set to \e[0m\e[0K, otherwise
linebroken files with a background color get the background color
printed all the way to the last column which isn't nice. This also
fixes the same issue in zsh completion listings. With menu-select
however, it causes all entries to the right of the selected ones to
disappear, since \e[0K means clear to end of line. The compromise I'm
using right now is to set the zstyle like this:
zstyle ':completion:*' list-colors ${(s.:.)${LS_COLORS}#ec=}
But it would be nice if linebroken files in completion listings didn't
print the background color all the way while menu-select still worked.
Any suggestions?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author