summaryrefslogtreecommitdiff
path: root/com32/libutil/get_key.c
diff options
context:
space:
mode:
authorhpa <hpa>2005-01-21 01:35:33 +0000
committerhpa <hpa>2005-01-21 01:35:33 +0000
commita53e2a69acf2074bda1b627baf8a0806152ba5b2 (patch)
tree7b5b3851ab02fda65f2fb1165a094e748bb3f464 /com32/libutil/get_key.c
parente8d5cb2b20b82c4e30942834fad8ddb1592bb1db (diff)
downloadsyslinux-a53e2a69acf2074bda1b627baf8a0806152ba5b2.tar.gz
Add password support to simple menu systemsyslinux-3.08-pre4
Diffstat (limited to 'com32/libutil/get_key.c')
-rw-r--r--com32/libutil/get_key.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/com32/libutil/get_key.c b/com32/libutil/get_key.c
index e3b8f02b..228253e2 100644
--- a/com32/libutil/get_key.c
+++ b/com32/libutil/get_key.c
@@ -75,8 +75,8 @@ static const struct keycode keycodes[] = {
CODE(KEY_PGDN, "\0\x51"),
CODE(KEY_HOME, "\0\x47"),
CODE(KEY_END, "\0\x4F"),
- CODE(KEY_INS, "\0\x52"),
- CODE(KEY_DEL, "\0\x53"),
+ CODE(KEY_INSERT, "\0\x52"),
+ CODE(KEY_DELETE, "\0\x53"),
/* Now, VT/xterm/Linux codes */
CODE(KEY_F1, "\033[[A"),
@@ -110,9 +110,9 @@ static const struct keycode keycodes[] = {
CODE(KEY_END, "\033[4~"),
CODE(KEY_END, "\033[F"),
CODE(KEY_END, "\033OF"),
- CODE(KEY_INS, "\033[2~"),
- CODE(KEY_INS, "\033[@"),
- CODE(KEY_DEL, "\033[3~"),
+ CODE(KEY_INSERT, "\033[2~"),
+ CODE(KEY_INSERT, "\033[@"),
+ CODE(KEY_DELETE, "\033[3~"),
};
#define NCODES ((int)(sizeof keycodes/sizeof(struct keycode)))