aboutsummaryrefslogtreecommitdiff
path: root/sixel.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-24 17:39:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-24 17:42:32 +0000
commit95f7c5586c7f8d647ed38645599ace39fb82c989 (patch)
tree05d3ecb0240035acd3ae3b7c7ba39a484637f1af /sixel.h
parentterm: 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sixel.h b/sixel.h
index 040df93a..13eff024 100644
--- a/sixel.h
+++ b/sixel.h
@@ -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);