From e19ee5f4d16f4cba0c093e8f49454939a6035bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 4 Oct 2020 13:14:09 +0200 Subject: [PATCH] render: resize: call sixel_reflow() after reflowing grids --- render.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/render.c b/render.c index 20d66512..a5df70f7 100644 --- a/render.c +++ b/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" @@ -2165,6 +2166,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,