mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[menu] Hide cursor when displaying menu
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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_SELECT, COLOR_SELECT_FG, COLOR_SELECT_BG );
|
||||||
init_pair ( CPAIR_SEPARATOR, COLOR_SEPARATOR_FG, COLOR_SEPARATOR_BG );
|
init_pair ( CPAIR_SEPARATOR, COLOR_SEPARATOR_FG, COLOR_SEPARATOR_BG );
|
||||||
color_set ( CPAIR_NORMAL, NULL );
|
color_set ( CPAIR_NORMAL, NULL );
|
||||||
|
curs_set ( 0 );
|
||||||
erase();
|
erase();
|
||||||
|
|
||||||
/* Draw initial content */
|
/* Draw initial content */
|
||||||
|
|||||||
Reference in New Issue
Block a user