| 29 |
29 |
| 30 #include "colors.h" |
30 #include "colors.h" |
| 31 #include <curses.h> |
31 #include <curses.h> |
| 32 |
32 |
| 33 void init_colorpairs(void) { |
33 void init_colorpairs(void) { |
| |
34 #ifndef USE_POSIX_CURSES |
| 34 use_default_colors(); |
35 use_default_colors(); |
| 35 init_pair(COL_APP, -1, -1); |
36 init_pair(COL_APP, -1, -1); |
| |
37 #endif |
| 36 init_pair(COL_BW, COLOR_BLACK, COLOR_CYAN); |
38 init_pair(COL_BW, COLOR_BLACK, COLOR_CYAN); |
| 37 init_pair(COL_BB, COLOR_BLACK, COLOR_BLUE); |
39 init_pair(COL_BB, COLOR_BLACK, COLOR_BLUE); |
| 38 init_pair(COL_WB, COLOR_WHITE, COLOR_BLUE); |
40 init_pair(COL_WB, COLOR_WHITE, COLOR_BLUE); |
| 39 init_pair(COL_WW, COLOR_WHITE, COLOR_CYAN); |
41 init_pair(COL_WW, COLOR_WHITE, COLOR_CYAN); |
| 40 } |
42 } |