aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6fa2ed87..8e761812 100644
--- a/main.c
+++ b/main.c
@@ -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;
}