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).
This commit is contained in:
Peter Hofmann authored and Hiltjo Posthuma committed 2023-10-07 12:16:59 +02:00
1 parent 8abe4bcb41
commit 559fdc2786
1 file changed
+1
+1
View File
@@ -2330,6 +2330,7 @@ eschandle(uchar ascii)
treset();
resettitle();
xloadcols();
xsetmode(0, MODE_HIDE);
break;
case '=': /* DECPAM -- Application keypad */
xsetmode(1, MODE_APPKEYPAD);