aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-06 20:09:55 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-11 16:32:55 +0000
commitf175575c0920f0992a2842502d1ea3e284338c01 (patch)
tree440a10a0b500d55c425f6a828785c319e9cf9532
parentsixel: calculate alpha when updating the palette (diff)
sixel: fixup row is multiple of 6
-rw-r--r--sixel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sixel.c b/sixel.c
index f51d7aa1..d89e7a87 100644
--- a/sixel.c
+++ b/sixel.c
@@ -915,7 +915,7 @@ sixel_add(struct terminal *term, uint32_t color, uint8_t sixel)
max(term->sixel.max_col, term->sixel.pos.col + 1));
int height = max(
- term->sixel.image.height, term->sixel.pos.row + 1);
+ term->sixel.image.height, term->sixel.pos.row + 6);
if (!resize(term, width, height))
return;