1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 20:03:25 +01:00

make friendlist offline statuses bold

This commit is contained in:
Jfreegman 2014-02-21 21:24:33 -05:00
parent 2982dc6ddd
commit 7e23afb57e

View File

@ -364,7 +364,11 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
wprintw(self->window, " (%s)\n", friends[f].statusmsg);
} else {
wprintw(self->window, "[O]");
wprintw(self->window, "[");
wattron(self->window, A_BOLD);
wprintw(self->window, "O");
wattroff(self->window, A_BOLD);
wprintw(self->window, "]");
if (f_selected)
wattron(self->window, A_BOLD);