Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2020-03-19 16:01:29 +00:00
8 changed files with 176 additions and 118 deletions

View File

@ -253,7 +253,8 @@ spawn_pane(struct spawn_context *sc, char **cause)
}
window_pane_reset_mode_all(sc->wp0);
screen_reinit(&sc->wp0->base);
input_init(sc->wp0);
input_free(sc->wp0->ictx);
sc->wp0->ictx = input_init(sc->wp0);
new_wp = sc->wp0;
new_wp->flags &= ~(PANE_STATUSREADY|PANE_STATUSDRAWN);
} else if (sc->lc == NULL) {