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
003534f8f0
commit
e167ed1a3d
@ -1892,7 +1892,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