Function ncursesw::scr_init [−][src]
pub fn scr_init<P: AsRef<Path>>(path: P) -> Result<(), NCurseswError>
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.