From d0ebad653b810fbdd9420ff172c238a5ec52eb1f Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Sun, 2 Mar 2025 03:36:46 -0300 Subject: 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/ --- win.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'win.h') diff --git a/win.h b/win.h index 94679e4..8712eea 100644 --- a/win.h +++ b/win.h @@ -32,7 +32,9 @@ void xloadcols(void); int xsetcolorname(int, const char *); int xgetcolor(int, unsigned char *, unsigned char *, unsigned char *); void xseticontitle(char *); -void xsettitle(char *); +void xfreetitlestack(void); +void xsettitle(char *, int); +void xpushtitle(void); int xsetcursor(int); void xsetmode(int, unsigned int); void xsetpointermotion(int); -- cgit v1.2.3