use terminal colors for main window - irc - IRC client based on c9x.me/irc client
HTML git clone git://git.codemadness.org/irc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 240a558ac936ef74f05ee3558dac433d29073f0f
DIR parent 19ba268b6a8dcde8bbd77046e52cb62e1ffc7f5b
HTML Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 19 Jan 2017 11:39:46 -0500
use terminal colors for main window
Diffstat:
M irc.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
DIR 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));
}