diff options
author | Kay Sievers <kay@vrfy.org> | 2013-08-21 00:07:02 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-08-21 00:07:02 +0200 |
commit | 4a4d270c66431c6272c99ed82ad17a867ba4f04c (patch) | |
tree | 8738f615cf8200f7a57bbf58680fa992d4e827c1 /src | |
parent | 1b93cfb0e399b0fdb7e4c54e448310aa46ce16b1 (diff) |
support M-<, M->
Diffstat (limited to 'src')
-rw-r--r-- | src/efi/gummiboot.c | 7 |
1 files changed, 7 insertions, 0 deletions
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)); |