bug-ncurses
[Top][All Lists]
Advanced

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

Handling assume_default_colors


From: Bryan Christ
Subject: Handling assume_default_colors
Date: Mon, 30 Sep 2019 11:12:24 -0500

Thomas,

In about 90% or more of all scenarios, pair zero is most likely color white foreground on color black background.  However, assume_default_colors() allows this "rule" to be broken.  As far as I can tell, there is no way for my terminal emulator to know about this change.  

When an application uses init_color() and the underlying term is an xterm variant, ncurses emits a OSC sequence that tells me about this custom color (via XParseColor).  Would it be possible to have ncurses emit a different OSC to indicate when assume_default_colors() is used and what pair zero colors are (in XParseColor RGB values)? 

--
Bryan
<><

reply via email to

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