changeset 23367:ee2c8684c925

allow left key command to close text menus too
author ben
date Fri, 25 May 2007 16:31:16 +0000
parents b344b6520518
children cef784b467ac
files libmenu/menu_txt.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmenu/menu_txt.c	Fri May 25 10:26:39 2007 +0000
+++ b/libmenu/menu_txt.c	Fri May 25 16:31:16 2007 +0000
@@ -61,6 +61,7 @@
     if(mpriv->cur_line >= mpriv->num_lines)
       mpriv->cur_line = mpriv->num_lines - 1;
     break;
+  case MENU_CMD_LEFT:
   case MENU_CMD_CANCEL:
     menu->show = 0;
     menu->cl = 1;