aboutsummaryrefslogtreecommitdiffstats
path: root/com32/libutil/include
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-21 00:27:17 +0000
committerhpa <hpa>2004-12-21 00:27:17 +0000
commit02b5962d945dcc7a81ba6da1dfb7590f4030244c (patch)
treeeaeb3963d071b93fa3b51b4f3402e58261ebb4b7 /com32/libutil/include
parentfc9d1511c2a841c529fe2e6855aaa4e34fef98f5 (diff)
downloadsyslinux-02b5962d945dcc7a81ba6da1dfb7590f4030244c.tar.gz
syslinux-02b5962d945dcc7a81ba6da1dfb7590f4030244c.tar.xz
syslinux-02b5962d945dcc7a81ba6da1dfb7590f4030244c.zip
Add code to edit the command line in the simple menu
Diffstat (limited to 'com32/libutil/include')
-rw-r--r--com32/libutil/include/getkey.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/libutil/include/getkey.h b/com32/libutil/include/getkey.h
index ac5fd2bf..99171e1c 100644
--- a/com32/libutil/include/getkey.h
+++ b/com32/libutil/include/getkey.h
@@ -37,6 +37,12 @@
#include <stdio.h>
+#define KEY_CTRL(x) ((x) & 0x001f)
+#define KEY_BACKSPACE 0x0008
+#define KEY_TAB 0x0009
+#define KEY_ENTER 0x000d
+#define KEY_ESC 0x001b
+
#define KEY_F1 0x0100
#define KEY_F2 0x0101
#define KEY_F3 0x0102