aboutsummarylogtreecommitdiffstats
path: root/st.info
diff options
context:
space:
mode:
authorMarc André Tanner2017-05-15 12:45:41 +0200
committerQuentin Rameau2017-06-03 22:28:35 +0200
commit177a7455a70bc1d5343a4298dc6470c255d9e231 (patch)
tree987a532937ef2e73b01dd3c2b1aff850b898d8e5 /st.info
parente39e19c5e5b314c50d3884644127dd6a707b0b49 (diff)
downloadaur-177a7455a70bc1d5343a4298dc6470c255d9e231.tar.gz
Add color change terminfo capabilities
Diffstat (limited to 'st.info')
-rw-r--r--st.info3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.info b/st.info
index 0b928af8ddaa..4d77eae41beb 100644
--- 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,