Do curses refresh before endwin.