render: resize: call sixel_reflow() after reflowing grids

This commit is contained in:
Daniel Eklöf 2020-10-04 13:14:09 +02:00
parent 47298776dc
commit f2da822e9a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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,