Function pancurses::delscreen

source ·
pub fn delscreen(screen: SCREEN)
Expand description

Frees storage associated with the SCREEN data structure.

The endwin routine does not do this, so delscreen should be called after endwin if a particular SCREEN is no longer needed.

In PDCurses, the parameter must be the value of SP, and delscreen() sets SP to NULL.