summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorerdgeist <>2013-03-20 11:25:42 +0000
committererdgeist <>2013-03-20 11:25:42 +0000
commit326fe73f57317922519a434656d965dde04fcce2 (patch)
treea3b4afa5bd62c21e2fdd071f77135127ba86a454 /vchat-ui.c
parent42c4f4799a66f148166262b3993b2374045a9f24 (diff)
Make ncursesw the default
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 7873268..05b9572 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -1131,17 +1131,19 @@ initui (void)
1131 1131
1132 /* set colors for windows */ 1132 /* set colors for windows */
1133 if (has_colors()) { 1133 if (has_colors()) {
1134 wattrset (console, COLOR_PAIR (9)); 1134// wattrset (console, COLOR_PAIR (9));
1135 wattrset (input, COLOR_PAIR (0)); 1135 wattrset (input, COLOR_PAIR (0));
1136 wbkgd (output, COLOR_PAIR(8)); 1136 wbkgd (output, COLOR_PAIR(8));
1137 wbkgd (console, COLOR_PAIR (9)); 1137// wbkgd (console, COLOR_PAIR (9));
1138 wattron (console, A_REVERSE);
1138 wbkgd (channel, COLOR_PAIR (0)); 1139 wbkgd (channel, COLOR_PAIR (0));
1139 wbkgd (input, COLOR_PAIR (0)); 1140 wbkgd (input, COLOR_PAIR (0));
1140 if (private) 1141 if (private)
1141 wbkgd (private, COLOR_PAIR (0)); 1142 wbkgd (private, COLOR_PAIR (0));
1142 if( topic ) { 1143 if( topic ) {
1143 wattrset (topic, COLOR_PAIR (9)); 1144 wattron (topic, A_REVERSE);
1144 wbkgd (topic, COLOR_PAIR (9)); 1145// wattrset (topic, COLOR_PAIR (9));
1146// wbkgd (topic, COLOR_PAIR (9));
1145 } 1147 }
1146 } else { 1148 } else {
1147 wattron (console, A_REVERSE); 1149 wattron (console, A_REVERSE);