[][src]Function ncursesw::def_shell_mode

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

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