mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
vt: handle ESC correctly in OSC string state
This commit is contained in:
parent
b4fdf51752
commit
d90ea88aa2
1 changed files with 5 additions and 0 deletions
5
vt.c
5
vt.c
|
|
@ -334,7 +334,12 @@ static const struct state_transition state_osc_string[256] = {
|
|||
[0x08 ... 0x17] = {.action = ACTION_IGNORE},
|
||||
[0x19] = {.action = ACTION_IGNORE},
|
||||
[0x1c ... 0x1f] = {.action = ACTION_IGNORE},
|
||||
|
||||
[0x20 ... 0xff] = {.action = ACTION_OSC_PUT},
|
||||
|
||||
[0x18] = {.action = ACTION_EXECUTE, .state = STATE_GROUND},
|
||||
[0x1a] = {.action = ACTION_EXECUTE, .state = STATE_GROUND},
|
||||
[0x1b] = { .state = STATE_ESCAPE},
|
||||
#if 0
|
||||
[0x20 ... 0x7f] = {.action = ACTION_OSC_PUT},
|
||||
[0x9c] = { .state = STATE_GROUND},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue