[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ansi-color uses the same values for fore- and background colours
|
From: |
Tony Zorman |
|
Subject: |
Re: Ansi-color uses the same values for fore- and background colours |
|
Date: |
Thu, 10 Aug 2023 05:59:03 +0200 |
On Wed, Aug 09 2023 09:51, Jim Porter wrote:
> Have you customized your settings for "man" somehow (or maybe changed
> your pager)?
I was going to say "no", but in the deepest recesses of my ~/.profile I
did find some stuff that direction! The "offending" line was something
like
export LESS_TERMCAP_so="$(printf '%b' 'ESC[01;44;33m')"; a="${a%_}"
However…
> If you *have* customized some of your settings, maybe you just need to
> tweak them so that they don't produce unreadable output.
…I don't think this invalidates the question. This was just the easiest
reproducer for me, but something akin to this could certainly happen "in
the wild". There can be, visually, quite a big difference between fore-
and background colours. Especially for high-contrast themes, I wouldn't
expect foreground colours—sometimes very saturated/dark—to be
particularly good when used as a background.
--
Tony Zorman | https://tony-zorman.com/