mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
sixel: revert to default state when an invalid DECGRI character is received
This commit is contained in:
parent
9e8d553a21
commit
58bbbb0a31
1 changed files with 5 additions and 0 deletions
5
sixel.c
5
sixel.c
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue