Signals Curses to leave the cursor at the current coordinates after
an update to the window.
Format
#include <curses.h>
leaveok (WINDOW *win, bool boolf);
Arguments
- win
- A pointer to the window.
- boolf
- A Boolean TRUE or FALSE value. If boolf is TRUE, the
cursor remains in place after the last update and the coordinate
setting on win changes accordingly. If boolf is
FALSE, the cursor moves to the currently specified (y,x) coordinates
of win.
Description
This function defaults to moving the cursor to the current
coordinates of win. The bool type is defined in the <curses.h>
header file as follows:
#define bool int
Previous Page | Next Page | Table of Contents | Index