The Current Window Structure
Curses also supports another virtual window called curscr (current screen). The curscr window is an internal representation of what currently appears on the terminal's external display.
When a program requires the external representation to match the internal representation, it must call a function, such as the wrefresh() function, to update the physical display (or the refresh() function if the program is working with the stdscr). When a refresh is called on an internal window, curses copies the changed portions of the window into the curscr and updates the physical display.
The curscr is reserved for internal use by curses. You should not manipulate the curscr.