aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-28 05:58:43 +0000
committerhpa <hpa>2005-08-28 05:58:43 +0000
commit68faab1542a6ddc04a77aba2e60318caca127b8b (patch)
treec846b596304cd9ef389821058f7a80b15d75a988
parent422081655f743e03b01ee29a2eaf26aab0ee7eda (diff)
downloadsyslinux-68faab1542a6ddc04a77aba2e60318caca127b8b.tar.gz
syslinux-68faab1542a6ddc04a77aba2e60318caca127b8b.tar.xz
syslinux-68faab1542a6ddc04a77aba2e60318caca127b8b.zip
More emacsy keybindings
-rw-r--r--com32/modules/menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/com32/modules/menu.c b/com32/modules/menu.c
index b4798116..5ba7719a 100644
--- a/com32/modules/menu.c
+++ b/com32/modules/menu.c
@@ -424,14 +424,14 @@ edit_cmdline(char *input, int top)
}
break;
case KEY_LEFT:
- case KEY_CTRL('P'):
+ case KEY_CTRL('B'):
if ( cursor ) {
cursor--;
redraw = 1;
}
break;
case KEY_RIGHT:
- case KEY_CTRL('N'):
+ case KEY_CTRL('F'):
if ( cursor < len ) {
putchar(cmdline[cursor++]);
}
@@ -597,11 +597,13 @@ run_menu(void)
break;
case KEY_PGUP:
case KEY_LEFT:
+ case KEY_CTRL('B'):
entry -= MENU_ROWS;
top -= MENU_ROWS;
break;
case KEY_PGDN:
case KEY_RIGHT:
+ case KEY_CTRL('F'):
case ' ':
entry += MENU_ROWS;
top += MENU_ROWS;