mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
scrollback: clear history on reset ref. #102
This commit is contained in:
parent
41e6f9dce6
commit
c1ef3ce0d8
7
st.c
7
st.c
@ -3077,6 +3077,13 @@ eschandle(uchar ascii)
|
||||
#endif // CSI_22_23_PATCH
|
||||
resettitle();
|
||||
xloadcols();
|
||||
#if SCROLLBACK_PATCH
|
||||
if (!IS_SET(MODE_ALTSCREEN)) {
|
||||
term.scr = 0;
|
||||
term.histi = 0;
|
||||
term.histn = 0;
|
||||
}
|
||||
#endif // SCROLLBACK_PATCH
|
||||
break;
|
||||
case '=': /* DECPAM -- Application keypad */
|
||||
xsetmode(1, MODE_APPKEYPAD);
|
||||
|
Loading…
Reference in New Issue
Block a user