[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature request: let the colour for colored-completion-prefix try so
Christoph Anton Mitterer
Re: feature request: let the colour for colored-completion-prefix try some custom field in LS_COLORS first
Fri, 08 Oct 2021 19:38:29 +0200
On Fri, 2021-10-08 at 13:19 -0400, Chet Ramey wrote:
> This is a pretty slick idea. Let me see what I can do.
What do you think about the 2nd idea? Cause IMO that would be what one
actually wants in order to quickly see what part is the prefix, but not
be distracted by too many (and "incompatible") colours.
I guess one could have even both things in parallel, maybe something
being really a escape sequence that overrides anything else (just as
being a escape sequence that was just "added" to the one that comes
from colored-stats already.
So if colored-stats would e.g. return:
then the overlay could add:
resulting in a:
where the 22 reverts the 1, and then sets 2 for dim.
Or one could use the underline feature (which some new terminals allow
to be even in different colours).