summaryrefslogtreecommitdiffstats
path: root/src/hci/tui
diff options
context:
space:
mode:
authorMichael Brown2013-12-02 18:25:16 +0100
committerMichael Brown2013-12-02 18:25:36 +0100
commitfb6edd4e1383329cdf5306bf1b2ca39bc7a18224 (patch)
tree0d7270ee4c9d41c6ccd33a81bc5649c839a6bd71 /src/hci/tui
parent[settings] Hide cursor when not actively editing a setting (diff)
downloadipxe-fb6edd4e1383329cdf5306bf1b2ca39bc7a18224.tar.gz
ipxe-fb6edd4e1383329cdf5306bf1b2ca39bc7a18224.tar.xz
ipxe-fb6edd4e1383329cdf5306bf1b2ca39bc7a18224.zip
[menu] Hide cursor when displaying menu
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/tui')
-rw-r--r--src/hci/tui/menu_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/tui/menu_ui.c b/src/hci/tui/menu_ui.c
index 42f7463f..98f0f0ae 100644
--- a/src/hci/tui/menu_ui.c
+++ b/src/hci/tui/menu_ui.c
@@ -349,6 +349,7 @@ int show_menu ( struct menu *menu, unsigned long timeout,
init_pair ( CPAIR_SELECT, COLOR_SELECT_FG, COLOR_SELECT_BG );
init_pair ( CPAIR_SEPARATOR, COLOR_SEPARATOR_FG, COLOR_SEPARATOR_BG );
color_set ( CPAIR_NORMAL, NULL );
+ curs_set ( 0 );
erase();
/* Draw initial content */