aboutsummaryrefslogtreecommitdiffstats
path: root/com32/menu/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/menu/menu.h')
-rw-r--r--com32/menu/menu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/menu/menu.h b/com32/menu/menu.h
index 1e596e1d..63e1859a 100644
--- a/com32/menu/menu.h
+++ b/com32/menu/menu.h
@@ -63,6 +63,7 @@ struct menu_entry {
int entry; /* Entry number inside menu */
enum menu_action action;
unsigned char hotkey;
+ bool immediate; /* Hotkey action does not require Enter */
bool save; /* Save this entry if selected */
};
@@ -156,6 +157,7 @@ struct menu {
int timeout;
bool allowedit;
+ bool immediate; /* MENU IMMEDIATE default for this menu */
bool save; /* MENU SAVE default for this menu */
int curentry;