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.
-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);
td>Import LibreSSL 3.3.2June McEnroe 2021-03-05Bump version to 3.3.1p1 3.3.1p1June McEnroe 2021-03-05build: Add OpenSSL includes to libcompatJune McEnroe 2020-12-15Import LibreSSL 3.3.1June McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe