Skip to content

Commit

Permalink
Fix tmux terminfo extensions Se and Ss
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sjbronner authored and hiltjo committed Nov 5, 2019
1 parent 1f09f0b commit 8386642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions st.info
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8386642

Please sign in to comment.