From 80361ca04e12b65396d27fa1d981f6739861e453 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 22 Feb 2020 21:35:45 +0100 Subject: sixel: purge images at current cursor row When printing a character, or starting a new sixel image, purge all images that cover the cursor's current row. --- terminal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index 493a8ada..5c7b94e5 100644 --- a/terminal.c +++ b/terminal.c @@ -2128,6 +2128,8 @@ term_print(struct terminal *term, wchar_t wc, int width) print_linewrap(term); print_insert(term, width); + sixel_purge_at_cursor(term); + /* *Must* get current cell *after* linewrap+insert */ struct row *row = term->grid->cur_row; struct cell *cell = &row->cells[term->cursor.point.col]; -- cgit v1.3