diff options
author | Michael Brown | 2013-12-02 18:23:09 +0100 |
---|---|---|
committer | Michael Brown | 2013-12-02 18:23:09 +0100 |
commit | 936971d0edd5fc89a77e1c4f180ec7179b495030 (patch) | |
tree | 86fbcb9572611d5fc4bbd5226eb17d6e802e3d58 /src/include/curses.h | |
parent | [console] Allow '?' as an intermediate byte in ANSI escape sequences (diff) | |
download | ipxe-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/include/curses.h')
-rw-r--r-- | src/include/curses.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/curses.h b/src/include/curses.h index 1230e0af..c472d695 100644 --- a/src/include/curses.h +++ b/src/include/curses.h @@ -75,6 +75,13 @@ typedef struct _curses_screen { * @ret FALSE no character waiting in stream */ bool ( *peek ) ( struct _curses_screen *scr ); + /** + * Set cursor visibility + * + * @v scr screen on which to operate + * @v visibility cursor visibility + */ + void ( * cursor ) ( struct _curses_screen *scr, int visibility ); } SCREEN; /** Curses Window struct */ |