aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-04-11 14:59:45 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-04-11 15:06:38 -0700
commita8e74b2834664543166744cf0832e1d6db36347f (patch)
tree2c22b842d476d69cbeeb95dbfe9df433c8fa60b4 /com32/libutil/include
parent868c474546ba68e9e448734e1833f873fd50ec0a (diff)
downloadsyslinux-a8e74b2834664543166744cf0832e1d6db36347f.tar.gz
syslinux-a8e74b2834664543166744cf0832e1d6db36347f.tar.xz
syslinux-a8e74b2834664543166744cf0832e1d6db36347f.zip
menu: Add "menu hiddenkey" to make terminating menu hidden a command
Use "menu hiddenkey" together with "menu hidden" for a one-keystroke action. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/libutil/include')
-rw-r--r--com32/libutil/include/getkey.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/libutil/include/getkey.h b/com32/libutil/include/getkey.h
index 52312a25..a46de812 100644
--- a/com32/libutil/include/getkey.h
+++ b/com32/libutil/include/getkey.h
@@ -75,6 +75,10 @@
#define KEY_INSERT 0x0128
#define KEY_DELETE 0x0129
+#define KEY_MAX 0x012a
+
int get_key(FILE *, clock_t);
+int key_name_to_code(const char *);
+const char *key_code_to_name(int);
#endif /* LIBUTIL_GETKEY_H */