mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
csi: implement force cursor position
This commit is contained in:
parent
15b12f45c6
commit
bf58b9ea8e
1 changed files with 1 additions and 0 deletions
1
csi.c
1
csi.c
|
|
@ -363,6 +363,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case 'f':
|
||||||
case 'H': {
|
case 'H': {
|
||||||
/* Move cursor */
|
/* Move cursor */
|
||||||
int row = min(vt_param_get(term, 0, 1), term->rows);
|
int row = min(vt_param_get(term, 0, 1), term->rows);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue