diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-07 20:02:41 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-07 20:02:41 +0000 |
commit | a1009e7bd3c4acd7dc4157e317013f066d1deca8 (patch) | |
tree | 4b078a40fadb0fc7007ff12ec00be61045bca5de /cmd-queue.c | |
parent | 5a564a0c1ac768d6fc02669891fdcbd2487af0e8 (diff) | |
parent | 3c24bc5617bfdf90f94cc088f3769397c7569649 (diff) | |
download | rtmux-a1009e7bd3c4acd7dc4157e317013f066d1deca8.tar.gz rtmux-a1009e7bd3c4acd7dc4157e317013f066d1deca8.tar.bz2 rtmux-a1009e7bd3c4acd7dc4157e317013f066d1deca8.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-queue.c')
-rw-r--r-- | cmd-queue.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cmd-queue.c b/cmd-queue.c index ec65bd80..ccb25c9a 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -426,12 +426,7 @@ cmdq_print(struct cmdq_item *item, const char *fmt, ...) server_client_push_stdout(c); } else { w = c->session->curw->window; - if (w->active->mode != &window_copy_mode) { - window_pane_reset_mode(w->active); - window_pane_set_mode(w->active, &window_copy_mode, NULL, - NULL); - window_copy_init_for_output(w->active); - } + window_copy_init_for_output(w->active); window_copy_vadd(w->active, fmt, ap); } |