mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
job_run needs fewer arguments.
This commit is contained in:
parent
a4e19bcd80
commit
9077b212c3
@ -3415,7 +3415,7 @@ window_copy_copy_pipe(struct window_mode_entry *wme, struct session *s,
|
|||||||
if (buf == NULL)
|
if (buf == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT, -1, -1);
|
job = job_run(cmd, s, NULL, NULL, NULL, NULL, NULL, JOB_NOWAIT);
|
||||||
bufferevent_write(job_get_event(job), buf, len);
|
bufferevent_write(job_get_event(job), buf, len);
|
||||||
window_copy_copy_buffer(wme, prefix, buf, len);
|
window_copy_copy_buffer(wme, prefix, buf, len);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user