emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Would True Colour to ANSI 8-bit palette conversion be useful


From: Michał Nazarewicz
Subject: Re: Would True Colour to ANSI 8-bit palette conversion be useful
Date: 2024年6月14日 08:05:39 -0400

On 2024年6月14日 at 07:14, Eli Zaretskii <eliz@gnu.org> wrote:
> Emacs already
> attempts to find the best color of the N colors the terminal actually
> supports that approximates the color specified by a face. That
> includes the case of only 8 supported colors. See tty-colors.el.
Yes, that’s the feature I meant. (As mentioned, I’m not using TTY so I
wasn’t aware this existed and didn’t find it with a quick look at the
codebase). I could probably argue my implementation is more
perceptually accurate but on the flip side it only works for the
256-colour palette. So it sounds like there’s nothing to see here. ;)
-- 
Best regards
ミハウ "mina86" ナザレヴイツ
«If at first you don’t succeed, give up skydiving»

reply via email to

[Prev in Thread] Current Thread [Next in Thread]

AltStyle によって変換されたページ (->オリジナル) /