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
if (ConsoleInfo->CurrentStartRow == ConsoleInfo->OriginalStartRow) {\r
return (EFI_SUCCESS);\r
}\r
+\r
+ //\r
+ // Clear the screen\r
+ //\r
+ ConsoleInfo->OldConOut->ClearScreen(ConsoleInfo->OldConOut);\r
+\r
ConsoleInfo->CurrentStartRow = ConsoleInfo->OriginalStartRow;\r
return (UpdateDisplayFromHistory(ConsoleInfo));\r
}\r