~smlavine/st

559fdc278681c98470749adb59f01cd071720458 — Peter Hofmann 8 months ago 8abe4bc
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).
1 files changed, 1 insertions(+), 0 deletions(-)

M st.c
M st.c => st.c +1 -0
@@ 2330,6 2330,7 @@ eschandle(uchar ascii)
		treset();
		resettitle();
		xloadcols();
		xsetmode(0, MODE_HIDE);
		break;
	case '=': /* DECPAM -- Application keypad */
		xsetmode(1, MODE_APPKEYPAD);