mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 22:33:02 +01:00
fix tab bar bugs
This commit is contained in:
parent
514d1952d0
commit
10d97b2942
3
chat.c
3
chat.c
@ -123,8 +123,7 @@ static void chat_onStatusChange(ToxWindow *self, int num, uint8_t *status, uint1
|
|||||||
|
|
||||||
status[len - 1] = '\0';
|
status[len - 1] = '\0';
|
||||||
fix_name(status);
|
fix_name(status);
|
||||||
snprintf(self->title, sizeof(self->title), "[%s (%d)]", status, num);
|
|
||||||
|
|
||||||
wattron(ctx->history, COLOR_PAIR(3));
|
wattron(ctx->history, COLOR_PAIR(3));
|
||||||
wprintw(ctx->history, "* Your partner changed status to '%s'\n", status);
|
wprintw(ctx->history, "* Your partner changed status to '%s'\n", status);
|
||||||
wattroff(ctx->history, COLOR_PAIR(3));
|
wattroff(ctx->history, COLOR_PAIR(3));
|
||||||
|
Loading…
Reference in New Issue
Block a user