mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-21 23:05:59 +01:00
CUP == HVP; CHA == HPA;
This commit is contained in:
parent
59fe59d3d1
commit
6e88c7f602
1 changed files with 2 additions and 2 deletions
4
st.c
4
st.c
|
@ -1322,12 +1322,12 @@ csihandle(void) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'G': /* CHA -- Move to <col> */
|
case 'G': /* CHA -- Move to <col> */
|
||||||
case '`': /* XXX: HPA -- same? */
|
case '`': /* HPA */
|
||||||
DEFAULT(csiescseq.arg[0], 1);
|
DEFAULT(csiescseq.arg[0], 1);
|
||||||
tmoveto(csiescseq.arg[0]-1, term.c.y);
|
tmoveto(csiescseq.arg[0]-1, term.c.y);
|
||||||
break;
|
break;
|
||||||
case 'H': /* CUP -- Move to <row> <col> */
|
case 'H': /* CUP -- Move to <row> <col> */
|
||||||
case 'f': /* XXX: HVP -- same? */
|
case 'f': /* HVP */
|
||||||
DEFAULT(csiescseq.arg[0], 1);
|
DEFAULT(csiescseq.arg[0], 1);
|
||||||
DEFAULT(csiescseq.arg[1], 1);
|
DEFAULT(csiescseq.arg[1], 1);
|
||||||
tmoveto(csiescseq.arg[1]-1, csiescseq.arg[0]-1);
|
tmoveto(csiescseq.arg[1]-1, csiescseq.arg[0]-1);
|
||||||
|
|
Loading…
Reference in a new issue