vt: always use hex (not octal)

This commit is contained in:
Daniel Eklöf 2019-11-05 13:56:44 +01:00
parent 27d00b15c7
commit df65e29d0d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

4
vt.c
View file

@ -898,12 +898,12 @@ action(struct terminal *term, enum action _action, uint8_t c)
break;
}
case '\016':
case '\x0e':
/* SO - shift out */
term->selected_charset = 1; /* G1 */
break;
case '\017':
case '\x0f':
/* SI - shift in */
term->selected_charset = 0; /* G0 */
break;