Function pancurses::def_prog_mode

source ·
pub fn def_prog_mode() -> i32
Expand description

Save the current terminal modes as the “program” (in curses) state for use by the reset_prog_mode() and reset_shell_mode() functions. This is done automatically by initscr().