summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-09-02 02:18:04 -0400
committerJune McEnroe <june@causal.agency>2020-09-02 02:18:04 -0400
commit17898622e3e9a9cedd8cf78db3a9339ec4a4a659 (patch)
tree5bbfc166d2a5370a7d9742269170f286dfa5016e
parentFix line wrapping in various ways (diff)
downloadcatgirl-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.
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);
title='2018-11-12 00:11:05 -0500'>2018-11-12Add inflateBackInit.3June McEnroe 2018-11-11Add inflateGetHeader.3June McEnroe 2018-11-11Add inflateMark.3June McEnroe 2018-11-11Add inflatePrime.3June McEnroe 2018-11-11Add inflateReset.3June McEnroe 2018-11-11Add inflateCopy.3June McEnroe 2018-11-11Add inflateSync.3June McEnroe 2018-11-11Add inflateGetDictionary.3June McEnroe 2018-11-11Add inflateSetDictionary.3June McEnroe 2018-11-11Add inflateInit2.3June McEnroe