mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
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). ref. https://git.suckless.org/st/commit/559fdc278681c98470749adb59f01cd071720458.html
This commit is contained in:
parent
3cbaecfa31
commit
1df649dfbd
1
st.c
1
st.c
@ -3079,6 +3079,7 @@ eschandle(uchar ascii)
|
|||||||
#endif // CSI_22_23_PATCH
|
#endif // CSI_22_23_PATCH
|
||||||
resettitle();
|
resettitle();
|
||||||
xloadcols();
|
xloadcols();
|
||||||
|
xsetmode(0, MODE_HIDE);
|
||||||
#if SCROLLBACK_PATCH
|
#if SCROLLBACK_PATCH
|
||||||
if (!IS_SET(MODE_ALTSCREEN)) {
|
if (!IS_SET(MODE_ALTSCREEN)) {
|
||||||
term.scr = 0;
|
term.scr = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user