From: Peter Hofmann Date: Sat, 7 Oct 2023 05:40:45 +0000 (+0200) Subject: Unhide cursor on RIS (\033c) X-Git-Url: http://www.git.stargrave.org/?p=st.git;a=commitdiff_plain;h=559fdc278681c98470749adb59f01cd071720458 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). --- diff --git a/st.c b/st.c index 4754c87..d6478f5 100644 --- a/st.c +++ b/st.c @@ -2330,6 +2330,7 @@ eschandle(uchar ascii) treset(); resettitle(); xloadcols(); + xsetmode(0, MODE_HIDE); break; case '=': /* DECPAM -- Application keypad */ xsetmode(1, MODE_APPKEYPAD);