Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: End boldface also ends background color
On Thu, 24 Mar 2016 10:33:47 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Mar 24, 10:38am, Peter Stephenson wrote:
> } Subject: Re: End boldface also ends background color
> }
> } If you look at the definitions, you'll see that \e[1m turns on bold,
> } \e[7m reverse, \e[4m underline. The definitions mapping to exit reverse
> } and exit underline are \e[27m and \e[24m. Nothing maps to \e[21m that I
> } can see.
>
> 21m is double-underline, according to comments in Functions/Misc/colors,
> but it's not widely supported.
>
> The right thing for bold-off would be "normal" i.e. 22m, but as noted
> there is no termcap code for that.
As long as it generally works when the other sequences do, we could use
a special case.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author