From 6b97c597569eb960e3696e7667e553d05238f3e9 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 25 Feb 2019 16:02:41 -0500 Subject: Add color to tags --- ui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ui.c') diff --git a/ui.c b/ui.c index ab519b6..ffb2916 100644 --- a/ui.c +++ b/ui.c @@ -335,10 +335,11 @@ static void uiStatus(void) { int unread; wchar_t *str; int len = aswprintf( - &str, L"%c %d %s %n(\3%02d%u\3) ", - (windows.active == win ? IRCReverse : IRCReset), + &str, L"%c\3%d %d %s %n(\3%02d%u\3%d) ", + (windows.active == win ? IRCReverse : IRCReset), win->tag.color, num, win->tag.name, - &unread, (win->hot ? IRCYellow : IRCDefault), win->unread + &unread, (win->hot ? IRCWhite : win->tag.color), win->unread, + win->tag.color ); if (len < 0) err(EX_OSERR, "aswprintf"); if (!win->unread) str[unread] = L'\0'; -- cgit 1.4.1-2-gfad0