Merge remote-tracking branch 'suckless/master'

This commit is contained in:
Oshgnacknak 2025-03-30 22:08:17 +02:00
commit b2f6b7f6ed
Signed by: Oshgnacknak
GPG key ID: 8CB7375654585956

8
st.c
View file

@ -1772,7 +1772,7 @@ csihandle(void)
}
break;
case 1: /* above */
if (term.c.y > 1)
if (term.c.y > 0)
tclearregion(0, 0, term.col-1, term.c.y-1);
tclearregion(0, term.c.y, term.c.x, term.c.y);
break;
@ -1868,7 +1868,11 @@ csihandle(void)
tcursor(CURSOR_SAVE);
break;
case 'u': /* DECRC -- Restore cursor position (ANSI.SYS) */
tcursor(CURSOR_LOAD);
if (csiescseq.priv) {
goto unknown;
} else {
tcursor(CURSOR_LOAD);
}
break;
case ' ':
switch (csiescseq.mode[1]) {