Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: End boldface also ends background color
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.
} Short of that, it's not going to work without rewriting
} the code substantially to track the current mode as well as the modes
} that need changing.
Aren't we already tracking the current mode in a bitfield?
Replies probably ought to start going to zsh-workers.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author