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