about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-02 03:27:50 -0500
committerJune McEnroe <june@causal.agency>2020-02-02 03:27:50 -0500
commit8bb9ea7b7ff2e98bbe629f9f2e63f1dcb70250e3 (patch)
tree713c9916a5160ba96204844a8fd70799ded19072 /chat.c
parentImplement window switching and status line (diff)
downloadcatgirl-8bb9ea7b7ff2e98bbe629f9f2e63f1dcb70250e3.tar.gz
catgirl-8bb9ea7b7ff2e98bbe629f9f2e63f1dcb70250e3.zip
Add idColors
Diffstat (limited to '')
-rw-r--r--chat.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index d4ed31c..b61dd34 100644
--- a/chat.c
+++ b/chat.c
@@ -29,6 +29,13 @@ char *idNames[IDCap] = {
 	[Debug] = "<debug>",
 	[Network] = "<network>",
 };
+
+enum Color idColors[IDCap] = {
+	[None] = Black,
+	[Debug] = Red,
+	[Network] = Gray,
+};
+
 size_t idNext = Network + 1;
 
 struct Self self;