diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 08:06:42 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 08:06:42 -0800 |
commit | 2b7ffea31612c16ab16735f6806195ab471ae409 (patch) | |
tree | 11b88511b94372b93cc6ae872ff919c805a676c9 /src | |
parent | 22f1624728ed889ce992801c64fe68fdd99b0593 (diff) | |
download | teliva-2b7ffea31612c16ab16735f6806195ab471ae409.tar.gz |
fix menu colors
I had it switching to a dark background on me.
Diffstat (limited to 'src')
-rw-r--r-- | src/lcurseslib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lcurseslib.c b/src/lcurseslib.c index be99512..0d9f604 100644 --- a/src/lcurseslib.c +++ b/src/lcurseslib.c @@ -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) { |