[][src]Function ncursesw::def_prog_mode

pub fn def_prog_mode() -> Result<(), NCurseswError>

Save the current terminal mode as the “program” mode, the mode when the running program is using NCurses. (Its counterpart is the “shell” mode, for when the program is not in NCurses.) Subsequent calls to reset_prog_mode() will restore this mode.