From 07a1c8f9511cfac7202904a4e07e6f9f8a228d06 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Wed, 15 Dec 2021 14:55:37 +0300 Subject: tbi/screen: set attrs to initial values before clearing the screen --- Library/UefiShellUfmCommandLib/tbi/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/UefiShellUfmCommandLib/tbi/screen.c b/Library/UefiShellUfmCommandLib/tbi/screen.c index daca9c9..d58523c 100644 --- a/Library/UefiShellUfmCommandLib/tbi/screen.c +++ b/Library/UefiShellUfmCommandLib/tbi/screen.c @@ -39,5 +39,6 @@ VOID screen_clear(struct screen *scr) { ASSERT(scr != NULL); + scr->stdout->SetAttribute(scr->stdout, scr->attr); scr->stdout->ClearScreen(scr->stdout); } -- cgit v1.2.3-18-g5258