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-11 17:25:36 +0000
commit2e7afc615c4b3a32a383da2efad8e30dc3fd9eac (patch)
tree8bb3ed8beef6b188c43b9d74556719f0f643a61a /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