From 4a4d270c66431c6272c99ed82ad17a867ba4f04c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 21 Aug 2013 00:07:02 +0200 Subject: support M-<, M-> --- src/efi/gummiboot.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/efi/gummiboot.c b/src/efi/gummiboot.c index e7cac4e..0d338b7 100644 --- a/src/efi/gummiboot.c +++ b/src/efi/gummiboot.c @@ -1006,6 +1006,7 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load break; case KEYPRESS(0, SCAN_HOME, 0): + case KEYPRESS(EFI_ALT_PRESSED, 0, '<'): if (idx_highlight > 0) { refresh = TRUE; idx_highlight = 0; @@ -1013,6 +1014,7 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load break; case KEYPRESS(0, SCAN_END, 0): + case KEYPRESS(EFI_ALT_PRESSED, 0, '>'): if (idx_highlight < config->entry_count-1) { refresh = TRUE; idx_highlight = config->entry_count-1; @@ -1120,6 +1122,11 @@ static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load refresh = TRUE; break; + case KEYPRESS(EFI_CONTROL_PRESSED, 0, 'l'): + case KEYPRESS(EFI_CONTROL_PRESSED, 0, CHAR_CTRL('l')): + refresh = TRUE; + break; + default: /* jump with a hotkey directly to a matching entry */ idx = entry_lookup_key(config, idx_highlight+1, KEYCHAR(key)); -- cgit v1.2.3