The ncurses functions now handle terminal resizing.