diff options
author | June McEnroe <june@causal.agency> | 2021-01-27 14:45:03 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-27 14:55:31 -0500 |
commit | b4c26a2cab313ee3fa9de5ee1ed19cbb709ec914 (patch) | |
tree | 460e55d1de34f406290cd312a45d38fc3a0743df /chat.h | |
parent | Change default timestamp format to %X (diff) | |
download | catgirl-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 'chat.h')
-rw-r--r-- | chat.h | 2 |
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); |