diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-05 12:56:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-05 12:56:52 +0000 |
| commit | f635f4807819b05b3f37858701c25bc0166a827d (patch) | |
| tree | d69573faee8d09d7d346fe13fecf3af4a4571e58 | |
| parent | vt: always use hex (not octal) (diff) | |
vt: implement VT - Vertical Tab
Despite its name, it always moves down exactly one line.
| -rw-r--r-- | vt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 */ |
