aboutsummarylogtreecommitdiffstats
path: root/st.info
diff options
context:
space:
mode:
authorSebastian J. Bronner2019-11-05 18:16:39 +0100
committerHiltjo Posthuma2019-11-05 19:51:35 +0100
commit3a56070af56c64001523237665f7bff4ad55f859 (patch)
treeeaab59c428fb9c7ad072f67805bd8fab959bf2bb /st.info
parent44ed2ef8677328eaba37cc395c85a8ba44b2481f (diff)
downloadaur-3a56070af56c64001523237665f7bff4ad55f859.tar.gz
Fix tmux terminfo extensions Se and Ss
The tmux terminfo extensions Ss and Se are currently specified as booleans in `st.info`. They should be strings. See https://github.com/tmux/tmux/blob/eeedb43ae847a0a692ceea965f7556e84bca4fd0/tty-term.c lines 254 and 265. I have used the values from https://invisible-island.net/ncurses/terminfo.src.html#toc-_S_I_M_P_L_E_T_E_R_M for this patch.
Diffstat (limited to 'st.info')
-rw-r--r--st.info4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.info b/st.info
index 52fc6177cca0..78ffd3035215 100644
--- a/st.info
+++ b/st.info
@@ -189,10 +189,10 @@ st| simpleterm,
rmxx=\E[29m,
smxx=\E[9m,
# tmux extensions, see TERMINFO EXTENSIONS in tmux(1)
- Se,
- Ss,
Tc,
Ms=\E]52;%p1%s;%p2%s\007,
+ Se=\E[2 q,
+ Ss=\E[%p1%d q,
st-256color| simpleterm with 256 colors,
use=st,