diff options
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -355,7 +355,8 @@ resize(struct context *c, int width, int height) if (width == c->width && height == c->height) return; - bool alt_screen_active = c->term.grid.cells == c->term.grid.alt_grid; + bool alt_screen_active + = c->term.grid.cells != NULL && c->term.grid.cells == c->term.grid.alt_grid; c->width = width; c->height = height; |
