aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-07 10:49:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-11 16:32:57 +0000
commit4b0e9a6bee9699b9edce6b9afc6a66734ce00a49 (patch)
tree4f46caf2341395b1679aac95389b3157fc6428f9 /terminal.h
parentsixel: adjust image height when processing ‘-’ (diff)
sixel: remove ‘max_col’
The image width *is* the maximum number of columns we’ve seen.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 2a8bb6f9..81893e34 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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 */