Redraw status on mode entry and exit.

This commit is contained in:
Nicholas Marriott 2016-02-19 13:29:59 +00:00
parent 95adc0e6ba
commit 6adf561507

View File

@ -1100,6 +1100,8 @@ window_pane_set_mode(struct window_pane *wp, const struct window_mode *mode)
if ((s = wp->mode->init(wp)) != NULL)
wp->screen = s;
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
server_status_window(wp->window);
return (0);
}
@ -1114,6 +1116,8 @@ window_pane_reset_mode(struct window_pane *wp)
wp->screen = &wp->base;
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
server_status_window(wp->window);
}
void