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

Re: Feature request: italic style in region_highlight



On Tue, May 25, 2021 at 11:56 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Tue, May 25, 2021 at 1:51 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
> >
> > I personally feel like standout is mostly useless, as you never know
> > how it's going to be rendered. I would prefer dropping standout
> > altogether and replacing it with separate italic and reverse.
>
> This is back to "tput or not tput, that is the question" because
> "standout" is a terminfo-defined rendering, whereas "italic" is not.

"Italic on" is called 'sitm' in terminfo and 'ZH' in termcap. "Italic
off" is called 'ritm' in terminfo and 'ZR' in termcap. `tput sitm`
works fine in terminals that have it in their terminfo entry.




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