diff options
author | C. McEnroe | 2020-02-04 20:23:55 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-04 20:23:55 -0500 |
commit | 9944dc484bf8cc7d5f1c506610a0593202bb5f92 (patch) | |
tree | cd5e669ae807905462efe2a4f2c96299cb9e699d /chat.h | |
parent | d57df09511a5e4136559ccdd01ab56e906827f96 (diff) |
Split showing style codes and word wrapping
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chat.h b/chat.h index 8de5df1..c754357 100644 --- a/chat.h +++ b/chat.h @@ -72,6 +72,7 @@ extern struct Self { char *chanTypes; char *prefixes; char *nick; + enum Color color; } self; static inline void set(char **field, const char *value) { @@ -121,6 +122,9 @@ void uiFormat( size_t id, enum Heat heat, const time_t *time, const char *format, ... ) __attribute__((format(printf, 4, 5))); +const char *editHead(void); +const char *editTail(void); + static inline enum Color hash(const char *str) { if (*str == '~') str++; uint32_t hash = 0; |