From 95f7c5586c7f8d647ed38645599ace39fb82c989 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 24 Feb 2020 18:39:14 +0100 Subject: 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. --- sixel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sixel.h') 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); -- cgit v1.3