diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-11 16:33:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-11 16:33:41 +0000 |
| commit | 5650120e084ea70bb9de7615fb44f9258ef3d3cc (patch) | |
| tree | 242f550aa0fb45fba0d725b043f1899fdb7d4b74 /terminal.h | |
| parent | meson: SOURCE_DIR is not a valid macro in custom_target() (diff) | |
| parent | changelog: empty pixel rows at the bottom of a sixel is now trimmed (diff) | |
Merge branch 'sixel-optimize'
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -521,8 +521,9 @@ struct terminal { } state; struct coord pos; /* Current sixel coordinate */ + int max_non_empty_row_no; + 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 */ |
