ncursesw
pub fn scr_dump(filename: &Path) -> Result<(), NCurseswError>
The scr_dump() routine dumps the current contents of the virtual screen to the file filename.
scr_dump()