diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-12-20 19:58:02 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-12-20 19:58:02 +0000 |
| commit | 23a6c6b711e6120e838d7ca0c71743c1e151b46e (patch) | |
| tree | c19ccf7a4685e18395a5fb56fa64d83d15ada7d4 | |
| parent | vt: convert CSI entry from table lookup to switch (diff) | |
vt: add missing 'entry' actions to 'anywhere' sections
| -rw-r--r-- | vt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1124,7 +1124,7 @@ state_escape_switch(struct terminal *term, uint8_t data) /* Anywhere */ case 0x18: action(term, ACTION_EXECUTE, data); return STATE_GROUND; case 0x1a: action(term, ACTION_EXECUTE, data); return STATE_GROUND; - case 0x1b: return STATE_ESCAPE; + case 0x1b: action(term, ACTION_CLEAR, data); return STATE_ESCAPE; case 0x80 ... 0x8f: action(term, ACTION_EXECUTE, data); return STATE_GROUND; case 0x90: action(term, ACTION_CLEAR, data); return STATE_DCS_ENTRY; case 0x91 ... 0x97: action(term, ACTION_EXECUTE, data); return STATE_GROUND; @@ -1157,7 +1157,7 @@ state_escape_intermediate_switch(struct terminal *term, uint8_t data) /* Anywhere */ case 0x18: action(term, ACTION_EXECUTE, data); return STATE_GROUND; case 0x1a: action(term, ACTION_EXECUTE, data); return STATE_GROUND; - case 0x1b: return STATE_ESCAPE; + case 0x1b: action(term, ACTION_CLEAR, data); return STATE_ESCAPE; case 0x80 ... 0x8f: action(term, ACTION_EXECUTE, data); return STATE_GROUND; case 0x90: action(term, ACTION_CLEAR, data); return STATE_DCS_ENTRY; case 0x91 ... 0x97: action(term, ACTION_EXECUTE, data); return STATE_GROUND; |
