From b4c26a2cab313ee3fa9de5ee1ed19cbb709ec914 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 27 Jan 2021 14:45:03 -0500 Subject: Measure timestamp width using ncurses This allows for non-ASCII characters in timestamps, and simplifies things by including the trailing space in the width. --- chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chat.h') 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); -- cgit 1.4.1