From a70379d8f9579614b1faf286f3766e3f48693cc8 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 4 Jul 2011 13:35:37 +0000 Subject: Use screen_reinit for respawn-pane to keep history and call input_init for respawn-window to break out of waiting for DCS/OSC to finish. --- cmd-respawn-window.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-respawn-window.c') diff --git a/cmd-respawn-window.c b/cmd-respawn-window.c index 30601fe5..319262e5 100644 --- a/cmd-respawn-window.c +++ b/cmd-respawn-window.c @@ -87,7 +87,9 @@ cmd_respawn_window_exec(struct cmd *self, struct cmd_ctx *ctx) return (-1); } layout_init(w); + window_pane_reset_mode(wp); screen_reinit(&wp->base); + input_init(wp); window_set_active_pane(w, wp); recalculate_sizes(); -- cgit v1.2.3