term: erasing characters now splits sixels instead of deleting them

This commit is contained in:
Daniel Eklöf 2020-06-27 15:22:31 +02:00
parent 0953ffd2d3
commit ae727e372a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 30 additions and 18 deletions

View file

@ -15,6 +15,10 @@ void sixel_destroy(struct sixel *sixel);
/* Row numbers are relative to current grid offset */
void sixel_delete_in_range(struct terminal *term, int row_start, int row_end);
void sixel_delete_at_row(struct terminal *term, int row);
void sixel_split_by_rectangle(
struct terminal *term, int row, int col, int height, int width);
void sixel_split_by_row(struct terminal *term, int row, int col, int width);
void sixel_split_at_cursor(struct terminal *term);
void sixel_colors_report_current(struct terminal *term);