about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 89dd4da..a898993 100644
--- a/ui.c
+++ b/ui.c
@@ -556,6 +556,7 @@ void uiFormat(
 
 static void resize(void) {
 	statusUpdate();
+	wclear(main);
 	wresize(main, MAIN_LINES, COLS);
 	for (uint num = 0; num < windows.len; ++num) {
 		bufferReflow(windows.ptrs[num]->buffer, COLS);