diff options
| -rw-r--r-- | sixel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,8 +39,6 @@ sixel_init(struct terminal *term) count = 0; - sixel_purge_at_cursor(term); - /* TODO: default palette */ } @@ -76,6 +74,8 @@ sixel_unhook(struct terminal *term) free(term->sixel.palette); term->sixel.palette = NULL; + sixel_purge_at_cursor(term); + struct sixel image = { .data = term->sixel.image.data, .width = term->sixel.image.width, |
