Add color change terminfo capabilities - st - Personal fork of st
(HTM) git clone git://git.drkhsh.at/st.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b331da550b290d54592b7ba11242c92f5a303a48
(DIR) parent 6cb6d61525931c88971cce323f63e40451a6d365
(HTM) Author: Marc André Tanner <mat@brain-dump.org>
Date: Mon, 15 May 2017 12:45:41 +0200
Add color change terminfo capabilities
Diffstat:
M st.info | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/st.info b/st.info
@@ -193,9 +193,12 @@ st| simpleterm,
st-256color| simpleterm with 256 colors,
use=st,
+ ccc,
colors#256,
+ oc=\E]104\007,
pairs#32767,
# Nicked from xterm-256color
+ initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,