mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-22 21:24:35 +02:00
ArmPlatformPkg/Bds: Add return carriage after the user presses 'ESC'
Otherwise, the next line of the boot menu was on the same line as the 'escaped' one. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12168 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
e1808603dc
commit
326d1df919
@ -317,6 +317,9 @@ FREE_DEVICE_PATH:
|
|||||||
FreePool (DevicePath);
|
FreePool (DevicePath);
|
||||||
|
|
||||||
EXIT:
|
EXIT:
|
||||||
|
if (Status == EFI_ABORTED) {
|
||||||
|
Print(L"\n");
|
||||||
|
}
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -352,6 +355,9 @@ BootMenuManager (
|
|||||||
Print(L"Choice: ");
|
Print(L"Choice: ");
|
||||||
Status = GetHIInputInteger (&OptionSelected);
|
Status = GetHIInputInteger (&OptionSelected);
|
||||||
if (EFI_ERROR(Status) || (OptionSelected == (BootManagerEntryCount+1))) {
|
if (EFI_ERROR(Status) || (OptionSelected == (BootManagerEntryCount+1))) {
|
||||||
|
if (EFI_ERROR(Status)) {
|
||||||
|
Print(L"\n");
|
||||||
|
}
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
|
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
|
||||||
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
|
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user