sixel: add sixel_delete_at_row and sixel_delete_in_range

These are utility functions to erase sixel images that are at the
specified row, or in a row range.
This commit is contained in:
Daniel Eklöf 2020-02-24 18:39:14 +01:00
parent d804bc8579
commit 95f7c5586c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 69 additions and 8 deletions

View file

@ -9,6 +9,9 @@ void sixel_put(struct terminal *term, uint8_t c);
void sixel_unhook(struct terminal *term);
void sixel_destroy(struct sixel *sixel);
void sixel_delete_in_range(struct terminal *term, int start, int end);
void sixel_delete_at_row(struct terminal *term, int _row);
void sixel_delete_at_cursor(struct terminal *term);
void sixel_colors_report_current(struct terminal *term);