diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 09:06:20 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-09 09:06:20 +0000 |
| commit | d90ea88aa2f5662ccfdf70287186a698ca5d377f (patch) | |
| tree | 8a1d9b524b35aded96ffeda10e323d5c6df4d5e8 /vt.c | |
| parent | input: add support for dead keys (composing) (diff) | |
vt: handle ESC correctly in OSC string state
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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}, |
