mirror of https://github.com/acidanthera/audk.git
ShellPkg: update Console to clear screen when resetting
This clears the screen when scrolling is ended by a non-scrolling key press. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hp.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17632 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4d95a9aa08
commit
8e4fd502c5
|
@ -227,6 +227,12 @@ ConsoleLoggerStopHistory(
|
|||
if (ConsoleInfo->CurrentStartRow == ConsoleInfo->OriginalStartRow) {
|
||||
return (EFI_SUCCESS);
|
||||
}
|
||||
|
||||
//
|
||||
// Clear the screen
|
||||
//
|
||||
ConsoleInfo->OldConOut->ClearScreen(ConsoleInfo->OldConOut);
|
||||
|
||||
ConsoleInfo->CurrentStartRow = ConsoleInfo->OriginalStartRow;
|
||||
return (UpdateDisplayFromHistory(ConsoleInfo));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue