mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcBootManagementLib: Clear screen after using picker
This may be helpful for firmwares without console output scroll ability to see more lines of the bootloader.
This commit is contained in:
parent
b204218612
commit
9bbb3b6d9a
@ -433,6 +433,13 @@ OcRunSimpleBootPicker (
|
||||
DEBUG ((DEBUG_INFO, "OCB: Setting default - %r\n", Status));
|
||||
}
|
||||
|
||||
//
|
||||
// Clear screen before loading the entry.
|
||||
//
|
||||
if (Context->PickerCommand == OcPickerShowPicker) {
|
||||
gST->ConOut->ClearScreen (gST->ConOut);
|
||||
}
|
||||
|
||||
Status = OcLoadBootEntry (
|
||||
AppleBootPolicy,
|
||||
Context,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user