fixed problem with endwin in interact.cpp