I wrote a small program in python and outputted some screen display using the curses library. For my simple output this seems to work. I run my python program from the command line.
My problem is that if I kill the python program the terminal doesn't properly display. For example: 'ls -al' displays properly before I run my python curses program 'ls -al' does not display properly after I kill the python curses program.
What can I do to make my terminal display output properly after I kill my python curses program?