From 879b2b236e7c773e2a64c5d69140a6f48026e7cf Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Tue, 11 Aug 2015 19:22:57 -0400 Subject: [PATCH] msg[0] == '>') wattron(win, COLOR_PAIR(GREEN)); + else if (line->msg[0] == '<') + wattron(win, COLOR_PAIR(RED)); wprintw(win, "%s", line->msg); if (line->msg[0] == '>') wattroff(win, COLOR_PAIR(GREEN)); + else if (line->msg[0] == '<') + wattroff(win, COLOR_PAIR(RED)); if (type == OUT_MSG && timed_out(line->timestamp, get_unix_time(), NOREAD_FLAG_TIMEOUT)) { wattron(win, COLOR_PAIR(RED));