Add terminfo entries for backspace mode
[st.git] / st.info
diff --git a/st.info b/st.info
index 52fc617..1df490b 100644 (file)
--- 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,
@@ -220,3 +220,13 @@ st-meta-256color| simpleterm with meta key and 256 colors,
        smm=\E[?1034h,
        rs2=\E[4l\E>\E[?1034h,
        is2=\E[4l\E>\E[?1034h,
+
+st-bs| simpleterm with backspace as backspace,
+       use=st,
+       kbs=\010,
+       kdch1=\177,
+
+st-bs-256color| simpleterm with backspace as backspace and 256colors,
+       use=st-256color,
+       kbs=\010,
+       kdch1=\177,