From a382ea817b47f308808b3656334b1c61d85fd880 Mon Sep 17 00:00:00 2001 From: Peter Hofmann Date: Sat, 7 Oct 2023 07:40:45 +0200 Subject: 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). --- st.c | 1 + 1 file changed, 1 insertion(+) diff --git a/st.c b/st.c index d1615e2..be2be2c 100644 --- a/st.c +++ b/st.c @@ -2418,6 +2418,7 @@ eschandle(uchar ascii) treset(); resettitle(); xloadcols(); + xsetmode(0, MODE_HIDE); break; case '=': /* DECPAM -- Application keypad */ xsetmode(1, MODE_APPKEYPAD); -- cgit v1.2.3