mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-28 01:40:17 -05:00
sixel: remove ‘max_col’
The image width *is* the maximum number of columns we’ve seen.
This commit is contained in:
parent
1c9c1aafc8
commit
4b0e9a6bee
2 changed files with 3 additions and 13 deletions
|
|
@ -523,7 +523,6 @@ struct terminal {
|
|||
struct coord pos; /* Current sixel coordinate */
|
||||
size_t row_byte_ofs; /* Byte position into image, for current row */
|
||||
int color_idx; /* Current palette index */
|
||||
int max_col; /* Largest column index we've seen (aka the image width) */
|
||||
uint32_t *private_palette; /* Private palette, used when private mode 1070 is enabled */
|
||||
uint32_t *shared_palette; /* Shared palette, used when private mode 1070 is disabled */
|
||||
uint32_t *palette; /* Points to either private_palette or shared_palette */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue