aboutsummaryrefslogtreecommitdiff
path: root/sixel.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-04 11:12:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-09 05:44:16 +0000
commitdbfc636ade8bd59a4a5af4531c19af8a163e8c09 (patch)
treebde150d22aa31038a879be13ad3d0ceaca6c9ec5 /sixel.h
parentterm: update sixel rows/cols *after* cell dimension change, *before* resize (diff)
sixel: implement reflow
Move sixel reflow from grid_reflow() to sixel_reflow(). This lets us use internal sixel functions to update the sixels. Note that grid_reflow() still needs to remap the sixelss coordinates.
Diffstat (limited to 'sixel.h')
-rw-r--r--sixel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sixel.h b/sixel.h
index ac763bb0..6cd7324e 100644
--- a/sixel.h
+++ b/sixel.h
@@ -17,6 +17,8 @@ void sixel_scroll_up(struct terminal *term, int rows);
void sixel_scroll_down(struct terminal *term, int rows);
void sixel_cell_size_changed(struct terminal *term);
+void sixel_reflow(struct terminal *term);
+
/*
* Remove sixel data from the specified location. Used when printing
* or erasing characters, and when emitting new sixel images, to