commit 1df649dfbd2efeffd8a0f2a455e6c2a559358b04
parent 3cbaecfa31322873480c7be2b669b3606b8923a8
Author: Bakkeby <bakkeby@gmail.com>
Date: Sun, 8 Oct 2023 20:22:22 +0200
Unhide cursor on RIS (\033c)
It is unclear if it's "required" to do this on RIS, but it's useful when
calling reset(1) after interactive programs have crashed and garbled up
the screen.
FWIW, other terminals do it as well (tested with XTerm, VTE, Kitty,
Alacritty, Linux VT).
ref.
https://git.suckless.org/st/commit/559fdc278681c98470749adb59f01cd071720458.html
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/st.c b/st.c
@@ -3079,6 +3079,7 @@ eschandle(uchar ascii)
#endif // CSI_22_23_PATCH
resettitle();
xloadcols();
+ xsetmode(0, MODE_HIDE);
#if SCROLLBACK_PATCH
if (!IS_SET(MODE_ALTSCREEN)) {
term.scr = 0;