fix menu colors

I had it switching to a dark background on me.
This commit is contained in:
Kartik K. Agaram 2021-11-07 08:06:42 -08:00
parent 22f1624728
commit 2b7ffea316
1 changed files with 2 additions and 3 deletions

View File

@ -29,11 +29,10 @@ void draw_string_on_menu(const char* s) {
++menu_column;
}
void draw_menu_item(const char* key, const char* name) {
attroff(A_REVERSE);
draw_string_on_menu(key);
attron(A_REVERSE);
draw_string_on_menu(name);
draw_string_on_menu(key);
attroff(A_REVERSE);
draw_string_on_menu(name);
}
void draw_menu (lua_State *L) {