mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: implement 'CPL' - Cursor Previous Line
This commit is contained in:
parent
d8708d1105
commit
f4be84871f
1 changed files with 6 additions and 0 deletions
6
csi.c
6
csi.c
|
|
@ -364,6 +364,12 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term_cursor_left(term, term->cursor.point.col);
|
term_cursor_left(term, term->cursor.point.col);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'F':
|
||||||
|
/* CPL - Cursor Previous Line */
|
||||||
|
term_cursor_up(term, vt_param_get(term, 0, 1));
|
||||||
|
term_cursor_left(term, term->cursor.point.col);
|
||||||
|
break;
|
||||||
|
|
||||||
case 'g': {
|
case 'g': {
|
||||||
int param = vt_param_get(term, 0, 0);
|
int param = vt_param_get(term, 0, 0);
|
||||||
switch (param) {
|
switch (param) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue