bug-ncurses
[Top][All Lists]
Advanced

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

Terminfo: 24-Bit/3-byte Color Support


From: Rüdiger Sonderfeld
Subject: Terminfo: 24-Bit/3-byte Color Support
Date: Tue, 15 Oct 2013 12:06:26 +0200
User-agent: KMail/4.10.5 (Linux/3.8.0-30-generic; KDE/4.10.5; x86_64; ; )

Hello,

it seems that some terminals now support for 24-bit RGB color values.  It seem 
to have started with KDE's Konsole[1].  But iTerm.app is adding support in the 
next release as well[2].  Terminfo should provide a way to support 24-bit RGB 
colors.

As far as I see it, the best approach would be to add new variable `setrgbf' 
and `setrgbb'.  And potentially CMY/CMYK versions.

E.g., the entries could look like

 konsole+24bit|KDE console 24bit/3byte RGB color feature,
    colors#16777216,
    setrgbf=\E[38;2;#1%d;#2%d;#3%dm,
    setrgbb=\E[48;2;#1%d;#2%d;#3%dm,
    use=xterm+256color,

  konsole-24bit|KDE console with 24bit/3byte RGB color support,
    use=konsole+256color, use=konsole+24bit,

  iTerm.app-24bit|iTerm.app with 24bit/3byte RGB color support,
    use=iTerm.app, usekonsole+24bit,

[1] 
https://projects.kde.org/projects/kde/applications/konsole/repository/revisions/master/raw/doc/user/README.moreColors
[2] https://code.google.com/p/iterm2/issues/detail?id=218

Regards,
Rüdiger




reply via email to

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