zsh-workers
 help / color / mirror / code / Atom feed
From: Marlon Richert <marlon.richert@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Oliver Kiddle <opk@zsh.org>, Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: Feature request: italic style in region_highlight
Date: Thu, 27 May 2021 11:04:42 +0300	[thread overview]
Message-ID: <CAHLkEDvSVCEVXf+LoLYfAZwP=i+HNfiWzNd0DCSJeiNbZSbKfQ@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7ZRsRnnPf6wNpK=JJyw2vYkXNTn_QxXs-3x4AF3cdJ+ow@mail.gmail.com>

On Tue, May 25, 2021 at 11:56 PM Bart Schaefer
<schaefer@brasslantern.com> wrote:
>
> On Tue, May 25, 2021 at 1:51 PM Marlon Richert <marlon.richert@gmail.com> 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.


  reply	other threads:[~2021-05-27  8:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-30  1:29 Sebastian Gniazdowski
2019-12-30 10:16 ` Roman Perepelitsa
2019-12-30 16:07   ` Bart Schaefer
2019-12-30 16:26     ` Roman Perepelitsa
2020-01-01  0:07       ` Bart Schaefer
2020-01-02 19:18         ` Oliver Kiddle
2020-01-02 19:45           ` Roman Perepelitsa
2020-01-03  2:30             ` Bart Schaefer
2020-01-03 20:28               ` Daniel Shahaf
2021-05-20 13:33                 ` Marlon Richert
2021-05-25 16:38                   ` Oliver Kiddle
2021-05-25 20:50                     ` Marlon Richert
2021-05-25 20:56                       ` Bart Schaefer
2021-05-27  8:04                         ` Marlon Richert [this message]
2021-05-25 17:28                 ` Bart Schaefer
2021-05-25 22:43                   ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHLkEDvSVCEVXf+LoLYfAZwP=i+HNfiWzNd0DCSJeiNbZSbKfQ@mail.gmail.com' \
    --to=marlon.richert@gmail.com \
    --cc=opk@zsh.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).