curs_set(3X) curs_set(3X)
NAME
cursset - set the cursor mode
SYNOPSIS
cc [flag ...] file ... -lcurses [library ...]
#include <curses.h>
int cursset(int visibility);
DESCRIPTION
The cursset() function sets the appearance of the cursor based on the
value of visibility:
______________________________________________________________
| Value of visibility Appearance of Cursor |
|_____________________________________________________________|
| 0 Invisible |
| 1 Terminal-specific normal mode |
| 2 Terminal-specific high visibility mode|
|_____________________________________________________________|
The terminal does not necessarily support all the above values.
RETURN VALUE
If the terminal supports the cursor mode specified by visibility, then
cursset() returns the previous cursor state. Otherwise, the function
returns ERR.
ERRORS
No errors are defined.
SEE ALSO
curses(3X), curses(5).
Page 1 Reliant UNIX 5.44 Printed 11/98