start_color();
use_default_colors();
init_pair(COLOR_PAIR1,123,-1);
- init_pair(COLOR_PAIR2,255,-1);
+ init_pair(COLOR_PAIR2,213,-1);
wbkgd(stdscr,COLOR_PAIR(COLOR_PAIR1));
wmove(stdscr,10,5);
printw("q = quit");
19, 20, 20, 21, 27, 32,
33, 38, 39, 44, 45, 45,
81, 81, 51, 51, 123, 123};
- short white_ramp[] = {232, 233, 234, 235, 236, 237,
- 238, 239, 240, 241, 242, 243,
- 244, 245, 246, 247, 248, 249,
- 250, 251, 252, 253, 254, 255};
+ short red_ramp[] = { 16, 52, 52, 53, 53, 89,
+ 89, 90, 90, 126, 127, 127,
+ 163, 163, 164, 164, 200, 200,
+ 201, 201, 207, 207, 213, 213};
short i = 23;
for (;;)
}
init_pair(COLOR_PAIR1,blue_ramp[i],-1);
- init_pair(COLOR_PAIR2,white_ramp[i],-1);
+ init_pair(COLOR_PAIR2,red_ramp[i],-1);
wrefresh(stdscr);
wrefresh(test);
}