commit 240a558ac936ef74f05ee3558dac433d29073f0f
parent 19ba268b6a8dcde8bbd77046e52cb62e1ffc7f5b
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 19 Jan 2017 11:39:46 -0500
use terminal colors for main window
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/irc.c b/irc.c
@@ -582,6 +582,7 @@ tinit(void)
scrollok(scr.mw, 1);
if (has_colors() == TRUE) {
start_color();
+ use_default_colors();
init_pair(1, COLOR_WHITE, COLOR_BLUE);
wbkgd(scr.sw, COLOR_PAIR(1));
}