summaryrefslogtreecommitdiffstats
path: root/window-copy.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-20 09:20:22 +0000
committernicm <nicm>2017-04-20 09:20:22 +0000
commit0b44ad99b51606a8cab662e04cf043a8c4a3ca92 (patch)
tree06a3c095e0babd541df00c9cd80bac898724c984 /window-copy.c
parentf184c6f06c8bd63390ecec3fbe290b087f995ea7 (diff)
If a #() command doesn't exit, use its most recent line of output (it
must be a full line). Don't let it redraw the status line more than once a second. Requested by someone about 10 years ago...
Diffstat (limited to 'window-copy.c')
-rw-r--r--window-copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-copy.c b/window-copy.c
index 9b13926e..0896479a 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -1641,7 +1641,7 @@ window_copy_copy_pipe(struct window_pane *wp, struct session *s,
return;
expanded = format_single(NULL, arg, NULL, s, NULL, wp);
- job = job_run(expanded, s, NULL, NULL, NULL, NULL);
+ job = job_run(expanded, s, NULL, NULL, NULL, NULL, NULL);
bufferevent_write(job->event, buf, len);
free(expanded);