touchwin(3cur)touchwin(3cur)Nametouchwin - touch window
Syntax
#include <cursesX.h>
int touchwin(win)
WINDOW ∗win;
Description
This routine discards all optimization information for the specified
window and assumes that the entire window has been drawn on.
This is sometimes necessary when using overlapping windows, as a change
to one window will affect the other window. The records of which lines
have been changed may not be correct for the window which has not been
changed directly.
Return Values
The function returns OK on success and ERR on error.
touchwin(3cur)