diff options
author | C. McEnroe | 2021-01-27 14:45:03 -0500 |
---|---|---|
committer | C. McEnroe | 2021-01-27 14:55:31 -0500 |
commit | b4c26a2cab313ee3fa9de5ee1ed19cbb709ec914 (patch) | |
tree | 460e55d1de34f406290cd312a45d38fc3a0743df /chat.h | |
parent | d6ff9e53cf724460b6f827edf40d698d35ffa2f7 (diff) |
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); |