diff options
author | June McEnroe <june@causal.agency> | 2020-02-01 19:37:48 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-01 19:37:55 -0500 |
commit | e5363bcae0f726455fb4198cd21d46721ad5e39a (patch) | |
tree | a4f191af1fe34b16663247fad0784476311dde8c /irc.c | |
parent | Add term stuff (diff) | |
download | catgirl-e5363bcae0f726455fb4198cd21d46721ad5e39a.tar.gz catgirl-e5363bcae0f726455fb4198cd21d46721ad5e39a.zip |
Implement the beginnings of UI
It takes so much code to do anything in curses...
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/irc.c b/irc.c index cf8aab7..f07fcc8 100644 --- a/irc.c +++ b/irc.c @@ -104,10 +104,10 @@ int ircConnect(const char *host, const char *port) { static void debug(char dir, const char *line) { if (!self.debug) return; size_t len = strcspn(line, "\r\n"); - /*uiFormat( - Debug, Cold, NULL, "\3%02d%c%c\3 %.*s", + uiFormat( + Debug, Cold, NULL, C"%d%c%c"C" %.*s", Gray, dir, dir, (int)len, line - );*/ + ); if (!isatty(STDERR_FILENO)) { fprintf(stderr, "%c%c %.*s\n", dir, dir, (int)len, line); } |