mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
sixel: limit image size to the one specified in the raster attrs
If a sixel has set an explicit width/height, in its raster attributes, do *not* allow the image to extend beyond this. Before this patch, we dynamically resized images if the sixel encoder emitted sixel data beyond the previously set width/height. Now, we ignore writes outside the configured size.
This commit is contained in:
parent
f17b989650
commit
f7bdc4c5b4
3 changed files with 18 additions and 1 deletions
|
|
@ -107,6 +107,9 @@
|
|||
determining whether a key combination produces text or not.
|
||||
* CSI-t queries now report pixel values **unscaled**, instead of
|
||||
**scaled** ([#1643][1643]).
|
||||
* Sixel "level 2" images (raster attributes set) are no longer
|
||||
extended beyond the width/height specified in the raster attributes
|
||||
([#chafa-192][chafa-192]).
|
||||
|
||||
[1526]: https://codeberg.org/dnkl/foot/issues/1526
|
||||
[1528]: https://codeberg.org/dnkl/foot/issues/1528
|
||||
|
|
@ -114,6 +117,7 @@
|
|||
[kitty-6913]: https://github.com/kovidgoyal/kitty/issues/6913
|
||||
[1584]: https://codeberg.org/dnkl/foot/issues/1584
|
||||
[1643]: https://codeberg.org/dnkl/foot/issues/1643
|
||||
[chafa-192]: https://github.com/hpjansson/chafa/issues/192
|
||||
|
||||
|
||||
### Deprecated
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue