refresh(3cur)refresh(3cur)Name
refresh, wrefresh - refresh window
Syntax
#include <cursesX.h>
int refresh()
int wrefresh(win)
WINDOW ∗win;
Description
The routine copies the named window to the physical terminal screen,
taking into account what is already there in order to optimize cursor
movement.
The routine does the same, using as a default screen.
These routines must be called to get any output on the terminal, as
other routines only manipulate data structures.
Unless has been enabled, the physical cursor of the terminal is left at
the location of the window's cursor. The routine is a macro.
Return Values
The and functions return OK on success and ERR on error.
See Alsoleaveok(3cur)refresh(3cur)