diff options
author | C. McEnroe | 2020-09-02 02:18:04 -0400 |
---|---|---|
committer | C. McEnroe | 2020-09-02 02:18:04 -0400 |
commit | 17898622e3e9a9cedd8cf78db3a9339ec4a4a659 (patch) | |
tree | 5bbfc166d2a5370a7d9742269170f286dfa5016e /ui.c | |
parent | a84c9cdda7f6a4115d22983124bb70327ffbe785 (diff) |
Call wclear on resize
Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window.
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 1 |
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); |