diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-02-03 18:24:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-02-04 17:14:25 +0000 |
| commit | 58bbbb0a319687774e7c06edf52b17bb79d6085a (patch) | |
| tree | 34cd7ad16c5d0dd5e7d74671f6bfdccf5a00ccf6 /sixel.c | |
| parent | sixel: DECGRI (repeat) with a count of 0 should emit a single sixel (diff) | |
sixel: revert to default state when an invalid DECGRI character is received
Diffstat (limited to 'sixel.c')
| -rw-r--r-- | sixel.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1456,6 +1456,11 @@ decgri(struct terminal *term, uint8_t c) term->sixel.state = SIXEL_DECSIXEL; break; } + + default: + term->sixel.state = SIXEL_DECSIXEL; + sixel_put(term, c); + break; } } |
