diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-06 23:03:34 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-11 16:32:57 +0000 |
| commit | 6416319a998917149d2fb13aea9d8ae2b86e4a86 (patch) | |
| tree | c9205bf12012c71c4f5506670e2246e49e6955e2 /scripts | |
| parent | sixel: add: use de-reference the term struct for each access to the backing image (diff) | |
Revert "sixel: resize: always round up height to a multiple of 6"
This reverts commit 5a9d70da837c20a9641d6cbadccc962a8e5a4283.
This broke jexer.
Comparing with what XTerm does, we can see that it updates its image
height for *each* pixel in *each* sixel. I.e. empty pixels at the
bottom of a sixel will not increase the image size.
Foot currently bumps the image height 6 pixels at a time, i.e. always
a whole pixel.
Given this, always rounding up the height to the nearest multiple of
6 (say, for example, when responding to a DECGRA command), is wrong.
Now, we use the image size specified in DECGRA as is, while still
allowing the image to grow beyond that if necessary.
What’s left to do, if we want to behave *exactly* like XTerm, is stop
growing the image with 6 pixels at a time when dynamically adjusting
the image size.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
