Skip to content

Commit 8672a56

Browse files
committed
System76PayloadPkg: Clear screen on boot error
Signed-off-by: Tim Crawford <tcrawford@system76.com>
1 parent 4ac5a3d commit 8672a56

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

System76PayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ PlatformBootManagerUnableToBoot (
198198
// here to see if it makes sense to request and wait for a keypress.
199199
//
200200
if (gST->ConIn != NULL) {
201+
if (gST->ConOut != NULL) {
202+
gST->ConOut->ClearScreen (gST->ConOut);
203+
}
201204
AsciiPrint (
202205
"%a: No bootable option or device was found.\n"
203206
"%a: Press any key to enter the Boot Manager Menu.\n",

0 commit comments

Comments
 (0)