From 17898622e3e9a9cedd8cf78db3a9339ec4a4a659 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 2 Sep 2020 02:18:04 -0400 Subject: [PATCH] Call wclear on resize Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window. --- ui.c | 1 + 1 file changed, 1 insertion(+) 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);