From 9bd14c0fd217721d32f52808878ed7e89bb82a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 8 May 2021 19:02:33 +0200 Subject: [PATCH] sixel: fix assertion: image is allowed to cover the entire scrollback --- sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixel.c b/sixel.c index 0e8c58d5..910e4a5f 100644 --- a/sixel.c +++ b/sixel.c @@ -799,7 +799,7 @@ sixel_unhook(struct terminal *term) .opaque = !term->sixel.transparent_bg, }; - xassert(image.rows < term->grid->num_rows); + xassert(image.rows <= term->grid->num_rows); xassert(image.pos.row + image.rows - 1 < term->grid->num_rows); LOG_DBG("generating %dx%d pixman image at %d-%d",