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.0
summary refs log tree commit diff
path: root/bin/aes.c (unfollow)
Commit message (Collapse)Author
2019-07-14Ignore CSI tJune McEnroe
2019-07-14Add more info to shotty man pageJune McEnroe
2019-07-14Fix OSC PT handlingJune McEnroe
Undo gone wrong!
2019-07-14Handle OSC in shottyJune McEnroe
2019-07-14Add shotty -dJune McEnroe
2019-07-13Add shotty -cJune McEnroe
2019-07-13Add DL to shottyJune McEnroe
2019-07-12Color html rather than bodyJune McEnroe
If background-color is only set on body then overscroll in Safari reveals white.
2019-07-12Make author consistent and update URLsJune McEnroe
2019-07-12Move to www/text.causal.agencyJune McEnroe
2019-07-12Add new causal.agency with shotty shotsJune McEnroe
2019-07-12Use -s to infer terminal sizeJune McEnroe
2019-07-12Add DCH to shottyJune McEnroe
This makes htop mostly work. Scrolling region still missing.
2019-07-12Support insert mode in shottyJune McEnroe
This is how curses puts characters into the bottom-right cell of the terminal.
2019-07-11Don't do carriage return on line feedJune McEnroe
2019-07-11Interpret 256color-style SGRsJune McEnroe
2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe
2019-07-11Factor out clearJune McEnroe
2019-07-11Add bright option to shottyJune McEnroe
2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe
2019-07-10Ignore SM and RMJune McEnroe
2019-07-09Add shotty man page and build itJune McEnroe
2019-07-09Add up -cJune McEnroe
2019-07-09Add options for default colors to shottyJune McEnroe
2019-07-08Use char literals consistentlyJune McEnroe