aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sixel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sixel.c b/sixel.c
index 2c440a6d..776750a2 100644
--- a/sixel.c
+++ b/sixel.c
@@ -1145,6 +1145,7 @@ decgra(struct terminal *term, uint8_t c)
ph <= term->sixel.max_height && pv <= term->sixel.max_width)
{
resize(term, ph, pv);
+ term->sixel.max_non_empty_row_no = pv - 1;
}
term->sixel.state = SIXEL_DECSIXEL;