st
simple terminal
git clone https://9o.is/git/st.git
commit 31b067659ca59ab784452dde992e30a8f2dfc44b parent b1ec69a0b6ca525ef20856e2839442fbe551c0ed Author: Peter Hofmann <scm@uninformativ.de> Date: Sat, 7 Oct 2023 07:40:45 +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). Diffstat:
| M | st.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);