pub fn scr_init<P>(path: P) -> Result<(), NCurseswError> where
    P: AsRef<Path>, 
Expand description

The scr_init() routine reads in the contents of path and uses them to initialize the curses data structures about what the terminal currently has on its screen. If the data is determined to be valid, curses bases its next update of the screen on this information rather than clearing the screen and starting from scratch.