resetty, savetty - save/restore terminal mode
#include <curses.h> int resetty(void); int savetty(void);
The resetty() function restores the program mode as of the most recent call to savetty().
The savetty() function saves the state that would be put in place by a call to reset_prog_mode().
Upon successful completion, these functions return OK. Otherwise, they return ERR.
No errors are defined.