Add color change terminfo capabilities
[st.git] / st.info
diff --git a/st.info b/st.info
index d411be7..4d77eae 100644 (file)
--- a/st.info
+++ b/st.info
@@ -185,13 +185,20 @@ st| simpleterm,
        tsl=\E]0;,
        xenl,
        vpa=\E[%i%p1%dd,
-
+# Tmux unofficial extensions, see TERMINFO EXTENSIONS in tmux(1)
+       Se,
+       Ss,
+       Tc,
+       Ms=\E]52;%p1%s;%p2%s\007,
 
 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,