MdeModulePkg/GraphicsConsole: don't draw cursor at 0,0
Prevents cursor from flashing on screen when changing modes or clearing the screen. Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
This commit is contained in:
committed by
Tim Crawford
parent
a8abddc10a
commit
20a7334a96
@ -1943,7 +1943,8 @@ FlushCursor (
|
|||||||
|
|
||||||
CurrentMode = This->Mode;
|
CurrentMode = This->Mode;
|
||||||
|
|
||||||
if (!CurrentMode->CursorVisible) {
|
if (!CurrentMode->CursorVisible ||
|
||||||
|
(CurrentMode->CursorColumn == 0 && CurrentMode->CursorRow == 0 )) {
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user