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

Re: Funky list-colors



On Fri, Nov 29, 2019 at 9:23 AM zsugabubus
<zsugabubus@xxxxxxxx> wrote:
>
> Though the name clearly states that these are “colors”, but why this
> artificial limitation? Width measuring happens at the prompts too

Prompts have the reverse assumption, that everything is nonzero width
(needs counting) unless special syntax indicates otherwise.  The
overhead of designating the width of every color element and checking
whether it is greater than zero doesn't seem worth it, given that
we're sharing color definitions with other standard apps like "ls" and
none of THOSE support nonzero-width colors.

> I really would like it to work

Chances are there's a different way to do what you are trying to do.
What's the end goal here?



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