zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: subscriptions@pygos.space
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] Support more colors
Date: Tue, 10 May 2022 13:56:39 +0200	[thread overview]
Message-ID: <CAHYJk3SaN2n6vhooTES7EZNeWWOoD=mXA-KMrt2=awa3ZO0s=g@mail.gmail.com> (raw)
In-Reply-To: <5af198ae-17e7-1136-8c6e-8e3008c43c00@pygos.space>

On 5/10/22, subscriptions@pygos.space <subscriptions@pygos.space> wrote:
> Terminals support a default and a strong setting for each color. The strong
> setting is taken for bold text.
> However it's currently not possible to also use it for non-bold text or for
> background color.
> By adding the strong colors separately, it's possible to do both by
> `$fg[strong-color]` and `$bg[strong-color]`.

colors is more or less obsoleted by the %F prompt escape already,
which already lets you use any color the terminal supports. For
example, %F{2} is green, and %F{10} (add 8) is what you call
"strong-green".

-- 
Mikael Magnusson


  reply	other threads:[~2022-05-10 11:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10 11:29 subscriptions
2022-05-10 11:56 ` Mikael Magnusson [this message]
2022-05-10 16:32   ` Bart Schaefer
2022-05-10 16:36 ` Bart Schaefer
2022-05-12 21:19   ` Jan Breig
2022-05-13  2:55     ` Bart Schaefer
2022-05-13  4:09     ` Lawrence Velázquez
2022-05-13  6:30       ` Jan Breig
2022-05-13 19:16         ` Bart Schaefer

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='CAHYJk3SaN2n6vhooTES7EZNeWWOoD=mXA-KMrt2=awa3ZO0s=g@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=subscriptions@pygos.space \
    --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).