vt: implement VT - Vertical Tab

Despite its name, it always moves down exactly one line.
This commit is contained in:
Daniel Eklöf 2019-11-05 13:56:52 +01:00
parent df65e29d0d
commit f635f48078
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

5
vt.c
View file

@ -898,6 +898,11 @@ action(struct terminal *term, enum action _action, uint8_t c)
break;
}
case '\x0b':
/* VT - vertical tab */
term_cursor_down(term, 1);
break;
case '\x0e':
/* SO - shift out */
term->selected_charset = 1; /* G1 */