mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-01 07:15:32 -04:00
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.
This commit is contained in:
parent
462229af70
commit
80361ca04e
3 changed files with 21 additions and 7 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue