Restores the terminal to shell mode.
Curses Library (libcurses.a)
#include <curses.h>
reset_shell_mode( )
The reset_shell_mode subroutine restores the terminal into shell , or "out of curses," mode. This happens automatically when the endwin subroutine is called.