diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-24 17:39:14 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-24 17:42:32 +0000 |
| commit | 95f7c5586c7f8d647ed38645599ace39fb82c989 (patch) | |
| tree | 05d3ecb0240035acd3ae3b7c7ba39a484637f1af /sixel.h | |
| parent | term: resize: pre-calculate right/bottom margins (diff) | |
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.
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
