From: Matt DeVillier <matt.devill...@gmail.com> Prevents cursor from flashing on screen when changing modes or clearing the screen.
Signed-off-by: Matt DeVillier <matt.devill...@gmail.com> --- .../Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c index 8f0cba9fcd..c803813a66 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c @@ -1940,7 +1940,8 @@ FlushCursor ( CurrentMode = This->Mode; - if (!CurrentMode->CursorVisible) { + if (!CurrentMode->CursorVisible || + (CurrentMode->CursorColumn == 0 && CurrentMode->CursorRow == 0 )) { return EFI_SUCCESS; } -- 2.32.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86188): https://edk2.groups.io/g/devel/message/86188 Mute This Topic: https://groups.io/mt/88757874/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-