Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: possible PATCH to colors function
- X-seq: zsh-workers 51953
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: linuxtechguy@xxxxxxxxx
- Cc: devs <zsh-workers@xxxxxxx>
- Subject: Re: possible PATCH to colors function
- Date: Mon, 17 Jul 2023 11:48:32 -0700
- Archived-at: <https://zsh.org/workers/51953>
- In-reply-to: <CAH+w=7Ygu8gEh9M4p-3ohvweoyoQOqyN+ntNB-MSbywXb_aOLQ@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CA+rB6GJb_Vn8yXU8XfQnvACB3c5Fpfp6DtFNGobC42DjcAqpsg@mail.gmail.com> <CAH+w=7Ygu8gEh9M4p-3ohvweoyoQOqyN+ntNB-MSbywXb_aOLQ@mail.gmail.com>
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