1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Treat entering or leaving a mode as pane changed.

This commit is contained in:
nicm 2015-08-29 00:39:18 +00:00
parent b7861f34ba
commit 5267ce8ff4

View File

@ -1066,7 +1066,7 @@ 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;
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
return (0);
}
@ -1080,7 +1080,7 @@ window_pane_reset_mode(struct window_pane *wp)
wp->mode = NULL;
wp->screen = &wp->base;
wp->flags |= PANE_REDRAW;
wp->flags |= (PANE_REDRAW|PANE_CHANGED);
}
void