diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-10-09 14:01:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-10-10 15:19:18 +0000 |
| commit | f70c34c5a8c6e89f6591e08fe3e26b9f0f44e6d2 (patch) | |
| tree | fce9549bd81b3a4adb8078f6c38006ca47518cfa /sixel.h | |
| parent | changelog: fixed crash when resizing window with a very large scrollback (diff) | |
sixel: add sixel_reflow_grid()
This function reflows all sixels in the specified grid.
The pre-existing sixel_reflow() function is a shortcut for
sixel_reflow_grid(term, &term->normal)
sixel_reflow_grid(term, &term->alt);
Diffstat (limited to 'sixel.h')
| -rw-r--r-- | sixel.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ 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_grid(struct terminal *term, struct grid *grid); + +/* Shortcut for sixel_reflow_grid(normal) + sixel_reflow_grid(alt) */ void sixel_reflow(struct terminal *term); /* |
