diff options
| author | erdgeist <> | 2013-03-20 11:25:42 +0000 |
|---|---|---|
| committer | erdgeist <> | 2013-03-20 11:25:42 +0000 |
| commit | 326fe73f57317922519a434656d965dde04fcce2 (patch) | |
| tree | a3b4afa5bd62c21e2fdd071f77135127ba86a454 /vchat-ui.c | |
| parent | 42c4f4799a66f148166262b3993b2374045a9f24 (diff) | |
Make ncursesw the default
Diffstat (limited to 'vchat-ui.c')
| -rwxr-xr-x | vchat-ui.c | 10 |
1 files changed, 6 insertions, 4 deletions
| @@ -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); |
