Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: italic style in region_highlight
- X-seq: zsh-workers 48935
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Oliver Kiddle <opk@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Feature request: italic style in region_highlight
- Date: Thu, 27 May 2021 11:04:42 +0300
- Archived-at: <https://zsh.org/workers/48935>
- In-reply-to: <CAH+w=7ZRsRnnPf6wNpK=JJyw2vYkXNTn_QxXs-3x4AF3cdJ+ow@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAKc7PVC5=SZfY8ExEZ9W2GWa=rYTu545hz9RrE9Uae=MadynSg@mail.gmail.com> <CAN=4vMpBOD5XJOgjiOWYUJV4QaV2Fn9+PkgTCTMtArJ4GxJA8w@mail.gmail.com> <CAH+w=7atVBgGEQ0M919mKLzqrcJBHALgLcuKFQmyRYCad00JdQ@mail.gmail.com> <CAN=4vMrtbUFpyLLdvKZtGLMss4RT5qKUBU6EoPr3y-3JotEy5w@mail.gmail.com> <CAH+w=7a452bDNEywy_btmB0B=2YrMKvQqmYMyzNnbTMZi2p9AQ@mail.gmail.com> <40813-1577992732.270919@2Jfy.SNk-.4lUU> <CAN=4vMo__T7nLxcUzc7qvQQH9QC5UC+Ofjq7y8XEFfgEBC19DQ@mail.gmail.com> <CAH+w=7YwxZtvZ5vetnvDVLMU8Q8=cg65hr37u6Cu66TiCGJcCQ@mail.gmail.com> <20200103202807.cxocci634aksqwot@tarpaulin.shahaf.local2> <CAHLkEDs5xV9f-iv6WAmjnYp2FP6wZm5AL_0+FwmJwWwAJjYrZw@mail.gmail.com> <49048-1621960739.992534@cck-.ZhRR.5MFR> <CAHLkEDuxkTefRtHgEiWE=Q9+Zivgh-sVXq6TEAC51MxZ7OtqsQ@mail.gmail.com> <CAH+w=7ZRsRnnPf6wNpK=JJyw2vYkXNTn_QxXs-3x4AF3cdJ+ow@mail.gmail.com>
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