help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: checking for light or dark background


From: James Cloos
Subject: Re: checking for light or dark background
Date: Mon, 07 Feb 2022 20:33:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

EZ>   (frame-parameter nil 'background-mode)

i just tried that in emacs-tty on screen.

the underlying terminal is black on white, but that (frame-parameter)
call claimed dark.

it may work in a gui term, but is not reliable elsewhere.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6



reply via email to

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