[w]refresh

Repaint the specified window on the terminal screen. The refresh function acts on the stdscr window.

Format

#include  <curses.h>

int refresh();

int wrefresh  (WINDOW *win);

Argument

win
A pointer to the window.

Description

The result of this process is that the portion of the window not occluded by subwindows or other windows appears on the terminal screen. To see the entire occluded window on the terminal screen, call the touchwin function instead of the refresh or wrefresh function.

See also touchwin in this section.

Return Values
OK  Indicates success. 
ERR  Indicates an error. 


Previous Page | Next Page | Table of Contents | Index