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
[email protected] http://per.bothner.com/
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue