diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-04 11:14:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-09 05:44:16 +0000 |
| commit | f2da822e9a05f6dade9004fb327555dd97b9f5f0 (patch) | |
| tree | f4d3850999637bf5623c4f598a99fd070c034fd8 /render.c | |
| parent | sixel: unhook: only call render_refresh() once (diff) | |
render: resize: call sixel_reflow() after reflowing grids
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |
