Don't refresh after a resize, since it causes the previous content to be
shortly displayed. We now simply resize and clear and waits for the first
read to start displaying the new content.
wresize(view->win, view->height, view->width);
mvwin(view->win, offset, 0);
mvwin(view->title, offset + view->height, 0);
- wrefresh(view->win);
}
offset += view->height + 1;
}
if (prev && view != prev) {
- if (!backgrounded) {
+ if (split && !backgrounded) {
/* "Blur" the previous view. */
update_view_title(prev);
}