aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-04 17:17:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-09 05:44:17 +0000
commitcf620cf3d002c67a4d4bbf418a6c4230d1ab97c4 (patch)
tree2afdae348db979de7e477d28fdf68a4379e0bc1b /sixel.c
parentsixel: scroll-up: don’t break out early of loop (diff)
sixel: unhook: look total number of sixels
This helps debug sixel overwrites, as it makes it more visible when there are sixels that _should_ have been removed.
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sixel.c b/sixel.c
index e584d677..2696f211 100644
--- a/sixel.c
+++ b/sixel.c
@@ -658,6 +658,9 @@ sixel_unhook(struct terminal *term)
term->sixel.max_col = 0;
term->sixel.pos = (struct coord){0, 0};
+ LOG_DBG("you now have %zu sixels in current grid",
+ tll_length(term->grid->sixel_images));
+
render_refresh(term);
}