summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/Bds
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:29:26 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-08-18 11:29:26 +0000
commit326d1df9193fae2be1cce85be9c361eb6eabe182 (patch)
tree575f172df51b4d77666055251c70b4e3198df24a /ArmPlatformPkg/Bds
parente1808603dc4207ec82da1ffee3b23889b3cfc6e6 (diff)
downloadedk2-platforms-326d1df9193fae2be1cce85be9c361eb6eabe182.tar.xz
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
Diffstat (limited to 'ArmPlatformPkg/Bds')
-rw-r--r--ArmPlatformPkg/Bds/BootMenu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Bds/BootMenu.c b/ArmPlatformPkg/Bds/BootMenu.c
index 91550df9d4..853ef09fa8 100644
--- a/ArmPlatformPkg/Bds/BootMenu.c
+++ b/ArmPlatformPkg/Bds/BootMenu.c
@@ -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);