Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > C

curs_set(3X)

ENHANCED CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

curs_set — set the cursor mode

SYNOPSIS

#include <curses.h>

int curs_set(int visibility);

DESCRIPTION

The curs_set() function sets the appearance of the cursor based on the value of visibility:

Value of visibilityAppearance of Cursor
0Invisible
1Terminal-specific normal mode
2Terminal-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 curs_set() returns the previous cursor state. Otherwise, the function returns ERR.

ERRORS

No errors are defined.

SEE ALSO

<curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 4.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.