From: Michael Brown Date: Mon, 2 Dec 2013 17:25:16 +0000 (+0000) Subject: [menu] Hide cursor when displaying menu X-Git-Tag: v1.20.1~1338 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb6edd4e1383329cdf5306bf1b2ca39bc7a18224;p=thirdparty%2Fipxe.git [menu] Hide cursor when displaying menu Signed-off-by: Michael Brown --- diff --git a/src/hci/tui/menu_ui.c b/src/hci/tui/menu_ui.c index 42f7463fa..98f0f0aef 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 */