From 4006fc86e4af90bb302e0da98dbbcc8152950f12 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 28 Jun 2020 11:01:19 +0200 Subject: sixel: overwrite: pass 'width' to sixel_overwrite_at_cursor() This is necessary to handle multi-column characters correctly. --- sixel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sixel.h') diff --git a/sixel.h b/sixel.h index bb3eb730..07e15196 100644 --- a/sixel.h +++ b/sixel.h @@ -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); -- cgit v1.3