bug-ncurses
[Top][All Lists]
Advanced

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

ISO-8613-6 sequences for RGB color


From: Bryan Christ
Subject: ISO-8613-6 sequences for RGB color
Date: Mon, 14 Jan 2019 10:46:34 -0600

Thomas,

Is it possible to query the underlying terminal regarding a color?  I assume it has to be possible since the following sequence has to be interpreted somehow.  It presupposes that a terminal would know what color Ps actually is.

ESC [ 38 ; 5 ; Ps; m

Hoping to work it backward, I've looked through the source code for ncurses to see how init_color() informs the underlying terminal but I'm not finding the relevant code.

--
Bryan
<><

reply via email to

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