Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: \e[0K dilemma



2008/5/17 Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>:
> "Mikael Magnusson" wrote:
>> 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.
>
> I don't understand this.  You don't mean a file that's long the line so
> that the name has wrapped, do you? I can't see any problem with that.

I do, but it seems that it only happens in urxvt, not in xterm...

If you run echo '\e[43mhello\nbye' then the line with bye is filled
with yellow/brown if the print caused a scroll. This happens in both
urxvt and xterm actually... But I can't reproduce the ls or completion
things in xterm.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author