From c118c594e3689bac3c6a083ecc05c1866e65927c Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 27 Jan 2021 00:15:46 -0500 Subject: Add toggleable display of timestamps --- chat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chat.h') 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); -- cgit 1.4.1-2-gfad0