diff options
author | June McEnroe <june@causal.agency> | 2020-09-02 02:18:04 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-09-02 02:18:04 -0400 |
commit | 17898622e3e9a9cedd8cf78db3a9339ec4a4a659 (patch) | |
tree | 5bbfc166d2a5370a7d9742269170f286dfa5016e | |
parent | Fix line wrapping in various ways (diff) | |
download | catgirl-17898622e3e9a9cedd8cf78db3a9339ec4a4a659.tar.gz catgirl-17898622e3e9a9cedd8cf78db3a9339ec4a4a659.zip |
Call wclear on resize
Otherwise artefects can appear when resizing to smaller width with wide characters at the right edge of the window.
-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); |