[][src]Function ncursesw::scr_init

pub fn scr_init(filename: &Path) -> Result<(), NCurseswError>

The scr_init() routine reads in the contents of filename 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.