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.
This commit is contained in:
Nicholas Marriott
2011-07-04 13:35:37 +00:00
parent 5e90476b25
commit a70379d8f9
2 changed files with 3 additions and 4 deletions

View File

@ -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();