mirror of
				https://github.com/Tha14/toxic.git
				synced 2025-10-31 03:06:51 +01:00 
			
		
		
		
	<not having red text
This commit is contained in:
		| @@ -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)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user