summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-27 14:45:03 -0500
committerJune McEnroe <june@causal.agency>2021-01-27 14:55:31 -0500
commitb4c26a2cab313ee3fa9de5ee1ed19cbb709ec914 (patch)
tree460e55d1de34f406290cd312a45d38fc3a0743df /chat.h
parentChange default timestamp format to %X (diff)
downloadcatgirl-b4c26a2cab313ee3fa9de5ee1ed19cbb709ec914.tar.gz
catgirl-b4c26a2cab313ee3fa9de5ee1ed19cbb709ec914.zip
Measure timestamp width using ncurses
This allows for non-ASCII characters in timestamps, and simplifies
things by including the trailing space in the width.
Diffstat (limited to '')
-rw-r--r--chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chat.h b/chat.h
index d3647e7..a44e0d3 100644
--- a/chat.h
+++ b/chat.h
@@ -283,7 +283,7 @@ enum { TimeCap = 64 };
 extern struct Time {
 	bool enable;
 	const char *format;
-	size_t width;
+	int width;
 } uiTime;
 extern struct Util uiNotifyUtil;
 void uiInitEarly(void);