aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c3
1 files changed, 3 insertions, 0 deletions
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,