[mucurses] Implement curs_set() to control cursor visibility

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2013-12-02 17:23:09 +00:00
parent 135bf35b11
commit 936971d0ed
4 changed files with 24 additions and 0 deletions
+10
View File
@@ -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;
}