summaryrefslogtreecommitdiff
path: root/st.info
diff options
context:
space:
mode:
authorMarcelo Lira <setanta@gmail.com>2025-03-02 03:36:46 -0300
committerMarcelo Lira <setanta@gmail.com>2025-03-02 08:31:10 -0300
commitd0ebad653b810fbdd9420ff172c238a5ec52eb1f (patch)
tree48294e79caba4076fb7287d1e13ecbb508a185a3 /st.info
parent5a7af3b20395d082693124f616b6d586919a97e2 (diff)
CSI 22, 23
This patch adds support for CSI escape sequences 22 and 23, which save and restore window title (for instance nvim does this when opening and closing). https://st.suckless.org/patches/csi_22_23/
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 efab2cf..24dfc7d 100644
--- a/st.info
+++ b/st.info
@@ -161,7 +161,7 @@ st-mono| simpleterm monocolor,
rin=\E[%p1%dT,
ritm=\E[23m,
rmacs=\E(B,
- rmcup=\E[?1049l,
+ rmcup=\E[?1049l\E[23;0;0t,
rmir=\E[4l,
rmkx=\E[?1l\E>,
rmso=\E[27m,
@@ -172,7 +172,7 @@ st-mono| simpleterm monocolor,
sitm=\E[3m,
sgr0=\E[0m,
smacs=\E(0,
- smcup=\E[?1049h,
+ smcup=\E[?1049h\E[22;0;0t,
smir=\E[4h,
smkx=\E[?1h\E=,
smso=\E[7m,