Merge remote-tracking branch 'suckless/master'
This commit is contained in:
commit
b2f6b7f6ed
1 changed files with 6 additions and 2 deletions
8
st.c
8
st.c
|
@ -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]) {
|
||||
|
|
Loading…
Add table
Reference in a new issue