summary refs log tree commit diff
path: root/ui.c
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);
 }
commit/ui.c?h=1.7&id=d71d0409951203d333a354c991073d18f98b8fd1&follow=1'>Rewrite line editing again, add formattingJune McEnroe 2018-08-06Fix allocation size in vaswprintfJune McEnroe 2018-08-06Implement word wrappingJune McEnroe 2018-08-06Use wchar_t strings for all of UIJune McEnroe 2018-08-06Rename line editing functionsJune McEnroe 2018-08-05Initialize all possible color pairsJune McEnroe 2018-08-05Refactor color initializationJune McEnroe 2018-08-05Add ^L redrawJune McEnroe 2018-08-05Use 16 colors if availableJune McEnroe 2018-08-05Limit parsed colors to number of mIRC colorsJune McEnroe 2018-08-04Show source link on exitJune McEnroe 2018-08-04Implement line editing, scrollingJune McEnroe 2018-08-04Handle /topicJune McEnroe