diff options
author | June McEnroe <june@causal.agency> | 2020-02-04 20:23:55 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-04 20:23:55 -0500 |
commit | 9944dc484bf8cc7d5f1c506610a0593202bb5f92 (patch) | |
tree | cd5e669ae807905462efe2a4f2c96299cb9e699d /chat.h | |
parent | Align word wrapping with tab character (diff) | |
download | catgirl-9944dc484bf8cc7d5f1c506610a0593202bb5f92.tar.gz catgirl-9944dc484bf8cc7d5f1c506610a0593202bb5f92.zip |
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; |