sixel: overwrite: pass 'width' to sixel_overwrite_at_cursor()

This is necessary to handle multi-column characters correctly.
This commit is contained in:
Daniel Eklöf 2020-06-28 11:01:19 +02:00
parent 5158be86d2
commit 4006fc86e4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 4 additions and 4 deletions

View file

@ -2384,7 +2384,7 @@ term_print(struct terminal *term, wchar_t wc, int width)
print_linewrap(term);
print_insert(term, width);
sixel_overwrite_at_cursor(term);
sixel_overwrite_at_cursor(term, width);
/* *Must* get current cell *after* linewrap+insert */
struct row *row = term->grid->cur_row;