diff options
author | Joursoir <chat@joursoir.net> | 2021-12-15 14:55:37 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-15 14:55:37 +0300 |
commit | 07a1c8f9511cfac7202904a4e07e6f9f8a228d06 (patch) | |
tree | f7dde1c40e54d268e18ab24a3f04c94170a0dbe2 /Library/UefiShellUfmCommandLib | |
parent | 5117ed86d5a1b1a264cc05ff660a296d638b2ed9 (diff) | |
download | ufm-07a1c8f9511cfac7202904a4e07e6f9f8a228d06.tar.gz ufm-07a1c8f9511cfac7202904a4e07e6f9f8a228d06.tar.bz2 ufm-07a1c8f9511cfac7202904a4e07e6f9f8a228d06.zip |
tbi/screen: set attrs to initial values before clearing the screen
Diffstat (limited to 'Library/UefiShellUfmCommandLib')
-rw-r--r-- | Library/UefiShellUfmCommandLib/tbi/screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |