From 2c3461b8554ef0145ad811b5c5414864e57af3ce Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Mon, 14 Apr 2025 12:41:12 +0200 Subject: [PATCH] add more colors --- src/menu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/menu.cpp b/src/menu.cpp index 704c633..9d85f00 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -25,7 +25,9 @@ void menu() { cbreak(); noecho(); 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 */ n_choices = ARRAY_SIZE(choices);