diff options
Diffstat (limited to 'spawn.c')
-rw-r--r-- | spawn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |