1curs_set(3XCURSES) X/Open Curses Library Functions curs_set(3XCURSES)
2
3
4
6 curs_set - set visibility of cursor
7
9 cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
10 -R /usr/xpg4/lib -lcurses [ library... ]
11
12 c89 [ flag... ] file... -lcurses [ library... ]
13
14 #include <curses.h>
15
16 int curs_set(int visibility);
17
18
20 The curs_set() function sets the visibility of the cursor to invisible
21 (0), normal (1), or very visible (2). The exact appearance of normal
22 and very visible cursors is terminal dependent.
23
25 visibility Is a value of 0 (invisible), 1 (normal), or 2 (very visi‐
26 ble).
27
28
30 If the terminal supports the mode specified by the visibility parame‐
31 ter, the curs_set() function returns the previous cursor state. Other‐
32 wise, it returns ERR.
33
35 None.
36
38 See attributes(5) for descriptions of the following attributes:
39
40
41
42
43 ┌─────────────────────────────┬─────────────────────────────┐
44 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
45 ├─────────────────────────────┼─────────────────────────────┤
46 │Interface Stability │Standard │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │MT-Level │Unsafe │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 libcurses(3XCURSES), attributes(5), standards(5)
53
54
55
56SunOS 5.11 5 Jun 2002 curs_set(3XCURSES)