summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index d18ea74..dde0d2a 100644
--- a/ui.c
+++ b/ui.c
@@ -133,10 +133,12 @@ static uint windowFor(uint id) {
 	window->time = uiTime.enable;
 	window->thresh = Cold;
 	window->buffer = bufferAlloc();
+	completeAdd(None, idNames[id], idColors[id]);
 	return windowPush(window);
 }
 
 static void windowFree(struct Window *window) {
+	completeRemove(None, idNames[window->id]);
 	bufferFree(window->buffer);
 	free(window);
 }
11 -0400'>2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe