reset_prog_mode, reset_shell_mode - restore program or shell terminal modes
#include <curses.h> int reset_prog_mode(void); int reset_shell_mode(void);
Refer to def_prog_mode().