[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: |
Eli Zaretskii |
Subject: |
Re: Ansi-color uses the same values for fore- and background colours |
Date: |
Wed, 09 Aug 2023 16:28:40 +0300 |
> From: Tony Zorman <tonyzorman@mailbox.org>
> Date: Wed, 09 Aug 2023 14:10:44 +0200
>
> by default, all of the `ansi-color-«COLOUR»' faces (defined in
> `ansi-color.el') set the foreground and background colour to the exact
> same value.
I believe this is intentional: that's how ANSI SGR sequences work on
terminals, right?
The expectation is that no one in their right mind will send SGR
sequences that set both foreground and background colors to the same
color, because that would make the text illegible.