summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 18:18:48 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 18:18:48 -0500
commit7783d89448293030aae4cc678e567a70e130c054 (patch)
treefc641d7d762e25fab50bb1468fb4b4a91bdc2e3a
parentDon't insert color codes for non-mentions (diff)
downloadcatgirl-7783d89448293030aae4cc678e567a70e130c054.tar.gz
catgirl-7783d89448293030aae4cc678e567a70e130c054.zip
Call completeClear when closing a window
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 29d5583..e687c08 100644
--- a/ui.c
+++ b/ui.c
@@ -727,6 +727,7 @@ void uiShowNum(size_t num) {
 
 static void windowClose(struct Window *window) {
 	if (window->id == Network) return;
+	completeClear(window->id);
 	if (windows.active == window) {
 		if (windows.other && windows.other != window) {
 			windowShow(windows.other);