reset_prog_mode(3cur)
Name
reset_prog_mode, reset_shell_mode − restore terminal mode
Syntax
int reset_prog_mode()
int reset_shell_mode()
Description
The reset_prog_mode routine restores the terminal modes to those saved by the def_prog_mode routine.
The reset_shell_mode routine restores the terminal modes saved by the def_shell_mode routine.
These routines are called automatically by endwin and doupdate after an endwin. Normally these routines would not be called before endwin.
Return Values
The reset_prog_mode and reset_shell_mode functions return OK on success and ERR on error.
See Also
def_prog_mode(3cur), def_shell_mode(3cur), doupdate(3cur), endwin(3cur)