[mucurses] Implement curs_set() to control cursor visibility
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -144,3 +144,13 @@ int wmove ( WINDOW *win, int y, int x ) {
|
||||
_wupdcurs(win);
|
||||
return OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set cursor visibility
|
||||
*
|
||||
* @v visibility cursor visibility
|
||||
*/
|
||||
int curs_set ( int visibility ) {
|
||||
stdscr->scr->cursor ( stdscr->scr, visibility );
|
||||
return OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user