about summary refs log tree commit diff
diff options
context:
space:
mode:
-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);