diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-07-04 13:35:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-07-04 13:35:37 +0000 |
commit | a70379d8f9579614b1faf286f3766e3f48693cc8 (patch) | |
tree | 9d81c1b3cdcd465e49933493a52b02676d6e4840 /cmd-respawn-window.c | |
parent | 5e90476b25d6fc0b6f7e869a63c7cce855e68c27 (diff) | |
download | rtmux-a70379d8f9579614b1faf286f3766e3f48693cc8.tar.gz rtmux-a70379d8f9579614b1faf286f3766e3f48693cc8.tar.bz2 rtmux-a70379d8f9579614b1faf286f3766e3f48693cc8.zip |
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.
Diffstat (limited to 'cmd-respawn-window.c')
-rw-r--r-- | cmd-respawn-window.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |