Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: italic style in region_highlight
- X-seq: zsh-workers 48925
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Feature request: italic style in region_highlight
- Date: Tue, 25 May 2021 10:28:11 -0700
- Archived-at: <https://zsh.org/workers/48925>
- In-reply-to: <20200103202807.cxocci634aksqwot@tarpaulin.shahaf.local2>
- 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>
Since we've reopened this thread, harkening back to an old comment of Daniel's:
On Fri, Jan 3, 2020 at 1:05 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Why would we create either %A{4} or %A{04}? The API to script writers should
> use symbolic names; the API between us and the terminal should use terminfo
> rather than hardcoded escape sequences.
We've already found in another thread (the one about %B/%b) that
terminfo is inadequate, it doesn't define escapes for all possible
ANSI combinations. In this specific example, %A{bold} has no terminfo
equivalent to turn (only) it off when %a is reached.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author