On 7/9/23 22:20, Jens-Ulrik Petersen wrote:
Unfortunately there is no easy way to detect dark or light terminals, to my 
knowledge at least.

You can use the xterm OSC 11;? sequence to request the text background color.
Emacs uses this to select light or dark theming.
--
        --Per Bothner
p...@bothner.com   http://per.bothner.com/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to