sixel: resize: truncate instead of failing, when new size exceeds max size

If the size we’re trying to set exceeds the configured max size,
truncate instead of failing.
This commit is contained in:
Daniel Eklöf 2022-02-03 19:20:41 +01:00
parent 8ca0eaa94c
commit 9150507209
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 21 additions and 13 deletions

View file

@ -120,6 +120,8 @@
(https://codeberg.org/dnkl/foot/issues/883).
* Bash completion giving an error when completing a list of short
options
* Sixel: large image resizes (triggered by e.g. large repeat counts in
`DECGRI`) are now truncated instead of ignored.
### Security