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

Re: possible PATCH to colors function



On Mon, Jul 17, 2023 at 11:40 AM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> Just for interest, try this:
> % colors
> % print -r $'\e['$color[faint]\;${color[bright-red]}m88888${reset_color}\
> $'\e['${color[red]}m88888${reset_color}\
> $'\e['${color[bright-red]}m88888${reset_color}

Might be easier to see with :gs/red/yellow

In fact with yellow I can see a difference between "faint yellow" and
"faint bright-yellow" whereas that's not obvious to me with red.

print -r $'\e['$color[faint]\;${color[yellow]}m#####${reset_color}.\
$'\e['$color[faint]\;${color[bright-yellow]}m#####${reset_color}.\
$'\e['${color[yellow]}m#####${reset_color}.\
$'\e['${color[bright-yellow]}m#####${reset_color}




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