summaryrefslogtreecommitdiffstats
path: root/src/hci/mucurses/wininit.c
diff options
context:
space:
mode:
authorMichael Brown2013-12-02 18:23:09 +0100
committerMichael Brown2013-12-02 18:23:09 +0100
commit936971d0edd5fc89a77e1c4f180ec7179b495030 (patch)
tree86fbcb9572611d5fc4bbd5226eb17d6e802e3d58 /src/hci/mucurses/wininit.c
parent[console] Allow '?' as an intermediate byte in ANSI escape sequences (diff)
downloadipxe-936971d0edd5fc89a77e1c4f180ec7179b495030.tar.gz
ipxe-936971d0edd5fc89a77e1c4f180ec7179b495030.tar.xz
ipxe-936971d0edd5fc89a77e1c4f180ec7179b495030.zip
[mucurses] Implement curs_set() to control cursor visibility
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/mucurses/wininit.c')
-rw-r--r--src/hci/mucurses/wininit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/mucurses/wininit.c b/src/hci/mucurses/wininit.c
index 782e7b5c..b75abba4 100644
--- a/src/hci/mucurses/wininit.c
+++ b/src/hci/mucurses/wininit.c
@@ -31,6 +31,7 @@ WINDOW *initscr ( void ) {
int endwin ( void ) {
attrset ( 0 );
color_set ( 0, NULL );
+ curs_set ( 1 );
mvprintw ( ( LINES - 1 ), 0, "\n" );
stdscr->scr->exit( stdscr->scr );
return OK;