[LCP] invisible cursor
Steve Baker
ice at mama.indstate.edu
Tue Jan 27 00:45:19 EST 2009
Christopher Howard <choward at indicium.us> wrote:
> In ncurses programming, is it possible to make the cursor disappear
> (become invisible)?
>
> The only suggestion I've had so far was the A_INVIS attribute, but this
> doesn't seem to have any effect on the cursor.
I believe what you want is:
int curs_set(int visibility);
The curs_set routine sets the cursor state is set to invisible,
normal, or very visible for visibility equal to 0, 1, or 2
respectively. If the terminal supports the visibility requested, the
previous cursor state is returned; otherwise, ERR is returned.
- Steve
More information about the linuxCprogramming
mailing list