Wait for key press before clearning ncurses window