pub fn scr_dump<P: AsRef<Path>>(path: P) -> Result<(), NCurseswError>
The scr_dump() routine dumps the current contents of the virtual screen to the file specificed by path.
scr_dump()
path