summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-27 00:15:46 -0500
committerJune McEnroe <june@causal.agency>2021-01-27 00:15:46 -0500
commitc118c594e3689bac3c6a083ecc05c1866e65927c (patch)
treedfb741e561a15b07d33e9a79660b40c88dd161cd /chat.h
parentOnly list up until scroll position with M-l (diff)
downloadcatgirl-c118c594e3689bac3c6a083ecc05c1866e65927c.tar.gz
catgirl-c118c594e3689bac3c6a083ecc05c1866e65927c.zip
Add toggleable display of timestamps
Diffstat (limited to '')
-rw-r--r--chat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 6ecd91a..d3647e7 100644
--- a/chat.h
+++ b/chat.h
@@ -279,6 +279,12 @@ const char *commandIsAction(uint id, const char *input);
 void commandCompleteAdd(void);
 
 enum Heat { Ice, Cold, Warm, Hot };
+enum { TimeCap = 64 };
+extern struct Time {
+	bool enable;
+	const char *format;
+	size_t width;
+} uiTime;
 extern struct Util uiNotifyUtil;
 void uiInitEarly(void);
 void uiInitLate(void);