mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-14 05:33:59 -04:00
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.
This commit is contained in:
parent
b66e235e84
commit
cf620cf3d0
1 changed files with 3 additions and 0 deletions
3
sixel.c
3
sixel.c
|
|
@ -658,6 +658,9 @@ sixel_unhook(struct terminal *term)
|
||||||
term->sixel.max_col = 0;
|
term->sixel.max_col = 0;
|
||||||
term->sixel.pos = (struct coord){0, 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);
|
render_refresh(term);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue