Allow editing boot options using 'e' key
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 29s
Builds / ExectOS (amd64, debug) (push) Successful in 31s
Builds / ExectOS (i686, release) (push) Successful in 37s
Builds / ExectOS (amd64, release) (push) Successful in 39s

This commit is contained in:
Aiken Harris 2025-09-01 11:47:36 +02:00
parent 0fa4a175e0
commit 34cebf2810
Signed by: harraiken
GPG Key ID: C40F06CB7493C1F5

View File

@ -458,9 +458,9 @@ BlDisplayEditMenu(IN PXTBL_BOOTMENU_ITEM MenuEntry)
BlReadKeyStroke(&Key); BlReadKeyStroke(&Key);
/* Check key press scan code */ /* Check key press scan code */
if(Key.UnicodeChar == 0x0D) if(Key.UnicodeChar == 0x0D || Key.UnicodeChar == 0x65)
{ {
/* ENTER key pressed, edit the highlighted option */ /* ENTER or 'e' key pressed, edit the highlighted option */
OptionName = EditableOptions[HighligtedOptionId]; OptionName = EditableOptions[HighligtedOptionId];
BlGetBootOptionValue(MenuEntry->Options, OptionName, &OriginalValue); BlGetBootOptionValue(MenuEntry->Options, OptionName, &OriginalValue);