mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: free sixel images on reset
This commit is contained in:
parent
b03ffa3720
commit
ad5b2030f0
1 changed files with 4 additions and 0 deletions
|
|
@ -1121,6 +1121,10 @@ term_reset(struct terminal *term, bool hard)
|
|||
term->meta.esc_prefix = true;
|
||||
term->meta.eight_bit = true;
|
||||
|
||||
tll_foreach(term->sixel_images, it)
|
||||
sixel_destroy(&it->item);
|
||||
tll_free(term->sixel_images);
|
||||
|
||||
if (!hard)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue