diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-05 06:53:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-05 06:55:02 +0000 |
| commit | 8091f7c78103ddbaf165c3c5368b93ee5d0495a1 (patch) | |
| tree | be69da50d82810c3ef4710e44d6b4280bd64a18c | |
| parent | resize: cursor reset was off-by-one when cursor was outside new size (diff) | |
render: force a full redraw when we cannot reuse last buffer
| -rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -415,8 +415,12 @@ grid_render(struct context *c) static struct buffer *last_buf = NULL; if (last_buf != buf) { - if (last_buf != NULL) + if (last_buf != NULL) { LOG_WARN("new buffer"); + + /* Force a full refresh */ + term_damage_all(&c->term); + } last_buf = buf; } |
