diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-27 13:29:47 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-27 13:29:47 +0000 |
| commit | 186a07c364536dd482938ba9a0ce0a4d7e6d74c6 (patch) | |
| tree | 80a271a9ac2e56302a0c4291555b35dada12fd94 /sixel.h | |
| parent | term: erasing characters now splits sixels instead of deleting them (diff) | |
sixel: split -> overwrite
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -12,14 +12,17 @@ void sixel_unhook(struct terminal *term); void sixel_destroy(struct sixel *sixel); -/* Row numbers are relative to current grid offset */ +/* Deletes all sixels that are touched by the specified row(s). Row + * numbers are relative to the current grid aoffset */ 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( +/* Remove sixel data from the specified location. Row numbers are + * relative to the current grid offset */ +void sixel_overwrite_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_overwrite_by_row(struct terminal *term, int row, int col, int width); +void sixel_overwrite_at_cursor(struct terminal *term); void sixel_colors_report_current(struct terminal *term); void sixel_colors_reset(struct terminal *term); |
