mirror of https://github.com/acidanthera/audk.git
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);
|
||||
|
||||
EXIT:
|
||||
if (Status == EFI_ABORTED) {
|
||||
Print(L"\n");
|
||||
}
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -352,6 +355,9 @@ BootMenuManager (
|
|||
Print(L"Choice: ");
|
||||
Status = GetHIInputInteger (&OptionSelected);
|
||||
if (EFI_ERROR(Status) || (OptionSelected == (BootManagerEntryCount+1))) {
|
||||
if (EFI_ERROR(Status)) {
|
||||
Print(L"\n");
|
||||
}
|
||||
return EFI_SUCCESS;
|
||||
} else if ((OptionSelected > 0) && (OptionSelected <= BootManagerEntryCount)) {
|
||||
Status = BootManagerEntries[OptionSelected-1].Callback (BootOptionsList);
|
||||
|
|
Loading…
Reference in New Issue