Do not invoke clear check on respawn.

This commit is contained in:
Nicholas Marriott
2026-07-04 17:00:28 +01:00
parent 1d7021130d
commit a02e25ba01
4 changed files with 6 additions and 35 deletions

View File

@@ -273,7 +273,7 @@ spawn_pane(struct spawn_context *sc, char **cause)
sc->wp0->fd = -1;
}
window_pane_reset_mode_all(sc->wp0);
screen_reinit(&sc->wp0->base);
screen_reinit(&sc->wp0->base, 0);
if (sc->wp0->ictx != NULL) {
input_free(sc->wp0->ictx);
sc->wp0->ictx = NULL;