Copyright Digital Equipment Corp. All rights reserved.
A program that calls Curses functions must call the endwin function before exiting to restore the previous environment of the terminal screen.