add more colors
This commit is contained in:
parent
f232404480
commit
2c3461b855
@ -25,7 +25,9 @@ void menu() {
|
|||||||
cbreak();
|
cbreak();
|
||||||
noecho();
|
noecho();
|
||||||
keypad(stdscr, TRUE);
|
keypad(stdscr, TRUE);
|
||||||
init_pair(1, COLOR_RED, COLOR_BLACK);
|
for (uint8_t i = 0; i < 8; i++) {
|
||||||
|
init_pair(i, i, COLOR_BLACK);
|
||||||
|
}
|
||||||
|
|
||||||
/* Create items */
|
/* Create items */
|
||||||
n_choices = ARRAY_SIZE(choices);
|
n_choices = ARRAY_SIZE(choices);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user