summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
authorC. McEnroe2020-02-11 18:18:48 -0500
committerC. McEnroe2020-02-11 18:18:48 -0500
commit7783d89448293030aae4cc678e567a70e130c054 (patch)
treefc641d7d762e25fab50bb1468fb4b4a91bdc2e3a /ui.c
parent6a5ebb0babde3afab973c1aebe3c4bfb33101d62 (diff)
Call completeClear when closing a window
Diffstat (limited to 'ui.c')
-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);