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:
Daniel Eklöf 2020-10-04 13:12:44 +02:00
parent 892730e5b9
commit dbfc636ade
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 51 additions and 54 deletions

View file

@ -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