sixel: fixup row is multiple of 6

This commit is contained in:
Daniel Eklöf 2021-03-06 21:09:55 +01:00
parent f143efb999
commit f175575c09
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;