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-run-shell.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-run-shell.c')
-rw-r--r-- | cmd-run-shell.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c index 47fceafe..998ffcd8 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -75,10 +75,8 @@ cmd_run_shell_print(struct job *job, const char *msg) return; } - if (window_pane_set_mode(wp, &window_copy_mode, NULL, NULL) == 0) - window_copy_init_for_output(wp); - if (wp->mode == &window_copy_mode) - window_copy_add(wp, "%s", msg); + window_copy_init_for_output(wp); + window_copy_add(wp, "%s", msg); } static enum cmd_retval |