diff options
author | nicm <nicm> | 2021-03-02 10:56:45 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-03-02 10:56:45 +0000 |
commit | c44750792a9683c5cd6f9df5a69e7417b88772d2 (patch) | |
tree | c60638c0067f6238a670260ce48c94a42e03acfb /window-copy.c | |
parent | de3a898e8af335325039a4165525fff1d5e1a1b0 (diff) |
Drop support for popups where the content is provided directly to tmux
(which does not have many practical uses) and only support running a
program in the popup. display-popup is now simpler and can accept
multiple arguments to avoid escaping problems (like the other commands).
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-copy.c b/window-copy.c index 531431c8..4558ed48 100644 --- a/window-copy.c +++ b/window-copy.c @@ -3963,8 +3963,8 @@ window_copy_pipe_run(struct window_mode_entry *wme, struct session *s, if (cmd == NULL || *cmd == '\0') cmd = options_get_string(global_options, "copy-command"); if (cmd != NULL && *cmd != '\0') { - job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT, - -1, -1); + job = job_run(cmd, 0, NULL, s, NULL, NULL, NULL, NULL, NULL, + JOB_NOWAIT, -1, -1); bufferevent_write(job_get_event(job), buf, *len); } return (buf); |