* Setup for color display */
| 212 | * Setup for color display |
| 213 | */ |
| 214 | static void color_setup(const char *theme) |
| 215 | { |
| 216 | int use_color; |
| 217 | |
| 218 | use_color = set_theme(theme); |
| 219 | if (use_color && has_colors()) { |
| 220 | start_color(); |
| 221 | init_dialog_colors(); |
| 222 | } else |
| 223 | set_mono_theme(); |
| 224 | } |
| 225 | |
| 226 | /* |
| 227 | * Set window to attribute 'attr' |
no test coverage detected