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

@ -32,7 +32,7 @@ void sixel_delete_at_row(struct terminal *term, int row);
void sixel_overwrite_by_rectangle(
struct terminal *term, int row, int col, int height, int width);
void sixel_overwrite_by_row(struct terminal *term, int row, int col, int width);
void sixel_overwrite_at_cursor(struct terminal *term);
void sixel_overwrite_at_cursor(struct terminal *term, int width);
void sixel_colors_report_current(struct terminal *term);
void sixel_colors_reset(struct terminal *term);