reset_prog_mode(3) — Subroutines
Digital
NAME
reset_prog_mode, reset_shell_mode − restore terminal mode
SYNOPSIS
#include <curses.h>
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.