summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-02-05 19:47:49 -0500
committerJune McEnroe <june@causal.agency>2023-02-05 19:47:49 -0500
commit1b4297e6095fea7258f99150fb79b49a01b5519b (patch)
tree3feaa576b3e001d243caa49bc20011c8791b25f6 /chat.h
parentFix what went wrong, part 1 (diff)
downloadcatgirl-1b4297e6095fea7258f99150fb79b49a01b5519b.tar.gz
catgirl-1b4297e6095fea7258f99150fb79b49a01b5519b.zip
Fix what went wrong, part 2
Diffstat (limited to '')
-rw-r--r--chat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chat.h b/chat.h
index 6a3f669..ef5779a 100644
--- a/chat.h
+++ b/chat.h
@@ -412,10 +412,11 @@ struct Cursor {
 	uint gen;
 	struct Node *node;
 };
-void completePush(uint id, const char *str);
-void completePull(uint id, const char *str);
+void completePush(uint id, const char *str, enum Color color);
+void completePull(uint id, const char *str, enum Color color);
 void completeReplace(const char *old, const char *new);
 void completeRemove(uint id, const char *str);
+enum Color completeColor(uint id, const char *str);
 const char *completePrefix(struct Cursor *curs, uint id, const char *prefix);
 const char *completeSubstr(struct Cursor *curs, uint id, const char *substr);
 uint completeNextID(struct Cursor *curs, const char *str);