about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lcurseslib.c5
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) {