mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 08:13:25 +01:00
<not having red text
This commit is contained in:
parent
c6b9a288b6
commit
879b2b236e
@ -322,11 +322,15 @@ void line_info_print(ToxWindow *self)
|
||||
|
||||
if (line->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));
|
||||
|
Loading…
Reference in New Issue
Block a user