diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-01-09 13:38:46 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-01-09 13:57:41 +0000 |
commit | 22a48ca4541d846952ba3b9ff8b2852016121e35 (patch) | |
tree | d9e5eaeef732f57147b35ec30b8c0f76f095f62a | |
parent | 75148dfbf2650e287c3d0ca690591f27910ffd04 (diff) | |
download | syslinux-22a48ca4541d846952ba3b9ff8b2852016121e35.tar.gz syslinux-22a48ca4541d846952ba3b9ff8b2852016121e35.tar.xz syslinux-22a48ca4541d846952ba3b9ff8b2852016121e35.zip |
efi: Enable/disable cursor like the BIOS code
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | efi/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,8 +111,9 @@ void efi_write_char(uint8_t ch, uint8_t attribute) static void efi_showcursor(const struct term_state *st) { SIMPLE_TEXT_OUTPUT_INTERFACE *out = ST->ConOut; + bool cursor = st->cursor ? true : false; - uefi_call_wrapper(out->EnableCursor, 2, out, true); + uefi_call_wrapper(out->EnableCursor, 2, out, cursor); } static void efi_set_cursor(int x, int y, bool visible) |