1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 16:16:46 +02:00

colour theme changes

This commit is contained in:
Jfreegman
2013-12-03 18:01:17 -05:00
parent 03ef257fdc
commit 88ebb06ba5
6 changed files with 22 additions and 28 deletions

View File

@ -33,9 +33,9 @@ static void chat_onMessage(ToxWindow *self, Tox *m, int num, uint8_t *msg, uint1
nick[TOXIC_MAX_NAME_LENGTH] = '\0';
print_time(ctx->history);
wattron(ctx->history, COLOR_PAIR(4));
wattron(ctx->history, COLOR_PAIR(CYAN));
wprintw(ctx->history, "%s: ", nick);
wattroff(ctx->history, COLOR_PAIR(4));
wattroff(ctx->history, COLOR_PAIR(CYAN));
if (msg[0] == '>') {
wattron(ctx->history, COLOR_PAIR(GREEN));