pub fn new_prescr() -> Result<SCREEN, NCurseswError>
Expand description

When creating a new screen, the library uses static variables which have been preset, e.g. by use_env(), filter() etc. With the screen-pointer extension, there are situations where it must create a current screen before the unextended library does. The new_prescr() function is used internally to handle these cases. It is also provided as an entrypoint to allow applications to customize the library initialization.