From: Heinrich Schuchardt Date: Sun, 2 Jun 2019 20:54:28 +0000 (+0200) Subject: efi_loader: fix EnableCursor() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=25e6fb5e93194d84c4b93fb3ab9d93d2157923dd;p=u-boot.git efi_loader: fix EnableCursor() The EnableCursor() service of the simple text output protocol must update the the CursorVisible field of the output mode. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index b2cb18e6d6..3b7578f3aa 100644 --- a/lib/efi_loader/efi_console.c +++ b/lib/efi_loader/efi_console.c @@ -430,6 +430,7 @@ static efi_status_t EFIAPI efi_cout_enable_cursor( EFI_ENTRY("%p, %d", this, enable); printf(ESC"[?25%c", enable ? 'h' : 'l'); + efi_con_mode.cursor_visible = !!enable; return EFI_EXIT(EFI_SUCCESS); }