mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
render: resize: call sixel_reflow() after reflowing grids
This commit is contained in:
parent
47298776dc
commit
f2da822e9a
1 changed files with 3 additions and 0 deletions
3
render.c
3
render.c
|
|
@ -20,6 +20,7 @@
|
|||
#include "grid.h"
|
||||
#include "quirks.h"
|
||||
#include "selection.h"
|
||||
#include "sixel.h"
|
||||
#include "shm.h"
|
||||
#include "util.h"
|
||||
#include "xmalloc.h"
|
||||
|
|
@ -2197,6 +2198,8 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
term->cols = new_cols;
|
||||
term->rows = new_rows;
|
||||
|
||||
sixel_reflow(term);
|
||||
|
||||
LOG_DBG("resize: %dx%d, grid: cols=%d, rows=%d "
|
||||
"(left-margin=%d, right-margin=%d, top-margin=%d, bottom-margin=%d)",
|
||||
term->width, term->height, term->cols, term->rows,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue