diff options
author | Heinrich Schuchardt | 2019-06-02 22:54:28 +0200 |
---|---|---|
committer | Heinrich Schuchardt | 2019-06-04 22:09:26 +0200 |
commit | 25e6fb5e93194d84c4b93fb3ab9d93d2157923dd (patch) | |
tree | 08b79dacae03bec8c28766fe0c72b998065db861 /lib | |
parent | 22f23db428b8ee14ff04a9128431e719ef2a387c (diff) |
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efi_loader/efi_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index b2cb18e6d67..3b7578f3aa4 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); } |