mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
vt: implement VT - Vertical Tab
Despite its name, it always moves down exactly one line.
This commit is contained in:
parent
df65e29d0d
commit
f635f48078
1 changed files with 5 additions and 0 deletions
5
vt.c
5
vt.c
|
|
@ -898,6 +898,11 @@ action(struct terminal *term, enum action _action, uint8_t c)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case '\x0b':
|
||||||
|
/* VT - vertical tab */
|
||||||
|
term_cursor_down(term, 1);
|
||||||
|
break;
|
||||||
|
|
||||||
case '\x0e':
|
case '\x0e':
|
||||||
/* SO - shift out */
|
/* SO - shift out */
|
||||||
term->selected_charset = 1; /* G1 */
|
term->selected_charset = 1; /* G1 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue