aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-04 11:14:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-11 17:25:39 +0000
commite19ee5f4d16f4cba0c093e8f49454939a6035bae (patch)
tree91dfc0b9643a7b004a5c4a1e4bfb394d6b3cf690 /render.c
parentsixel: unhook: only call render_refresh() once (diff)
render: resize: call sixel_reflow() after reflowing grids
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 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,