projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f23db
)
efi_loader: fix EnableCursor()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 2 Jun 2019 20:54:28 +0000
(22:54 +0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 4 Jun 2019 20:09:26 +0000
(22:09 +0200)
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>
lib/efi_loader/efi_console.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_console.c
b/lib/efi_loader/efi_console.c
index b2cb18e6d67021c194dff39914c5b401a6e1967d..3b7578f3aa4f6d7c218afd3cd3c398f0ec3199a3 100644
(file)
--- 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);
}