diff options
author | James Booth <boothj5@gmail.com> | 2012-06-18 23:06:17 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-06-18 23:06:17 +0100 |
commit | e39494dcc910026ae6cc04d253883de3aaf671c2 (patch) | |
tree | 1e16c4c457419a4323c67f968881a9694223c981 /windows.c | |
parent | 028a2da3f6594dd7883a18136f216ddf83470f84 (diff) | |
download | profani-tty-e39494dcc910026ae6cc04d253883de3aaf671c2.tar.gz |
Added basic colour preferences loading
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/windows.c b/windows.c index bf82766b..08de9c93 100644 --- a/windows.c +++ b/windows.c @@ -387,6 +387,7 @@ static void _create_windows(void) struct prof_win cons; strcpy(cons.from, CONS_WIN_TITLE); cons.win = newpad(PAD_SIZE, cols); + wbkgd(cons.win, COLOR_PAIR(1)); cons.y_pos = 0; cons.paged = 0; scrollok(cons.win, TRUE); @@ -411,6 +412,7 @@ static void _create_windows(void) struct prof_win chat; strcpy(chat.from, ""); chat.win = newpad(PAD_SIZE, cols); + wbkgd(chat.win, COLOR_PAIR(1)); chat.y_pos = 0; chat.paged = 0; wattrset(chat.win, A_BOLD); |