mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
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.
This commit is contained in:
parent
892730e5b9
commit
dbfc636ade
3 changed files with 51 additions and 54 deletions
2
sixel.h
2
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue