aboutsummaryrefslogtreecommitdiff
path: root/sixel.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-27 13:22:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-27 13:22:31 +0000
commitae727e372abfb5cd516f1fbab0fff28499f7d02b (patch)
tree7a829a00b5dfbcc718a6b33e3ebbf50f0f58e586 /sixel.h
parentsixel: delete/split: early(ier) exit when there aren't in sixel images (diff)
term: erasing characters now splits sixels instead of deleting them
Diffstat (limited to 'sixel.h')
-rw-r--r--sixel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sixel.h b/sixel.h
index 1d282e85..9db720a2 100644
--- a/sixel.h
+++ b/sixel.h
@@ -15,6 +15,10 @@ void sixel_destroy(struct sixel *sixel);
/* Row numbers are relative to current grid offset */
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(
+ 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_colors_report_current(struct terminal *term);