From f2da822e9a05f6dade9004fb327555dd97b9f5f0 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 427c8d44..4a006e10 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" @@ -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,