diff options
author | 2020-03-19 14:03:48 +0000 | |
---|---|---|
committer | 2020-03-19 14:03:48 +0000 | |
commit | 29ebed3733c53f26b45edd4bc4795dfaa9d323c8 (patch) | |
tree | 68852ebf2f494759269bd49a1cc27fdf7874fc88 /usr.bin/tmux/cmd-capture-pane.c | |
parent | Separate variable declaration and assignment. No functional change. (diff) | |
download | wireguard-openbsd-29ebed3733c53f26b45edd4bc4795dfaa9d323c8.tar.xz wireguard-openbsd-29ebed3733c53f26b45edd4bc4795dfaa9d323c8.zip |
Change input path so it doesn't require a pane.
Diffstat (limited to 'usr.bin/tmux/cmd-capture-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-capture-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-capture-pane.c b/usr.bin/tmux/cmd-capture-pane.c index 61562216e91..cba0fb11061 100644 --- a/usr.bin/tmux/cmd-capture-pane.c +++ b/usr.bin/tmux/cmd-capture-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-capture-pane.c,v 1.49 2019/12/12 11:39:56 nicm Exp $ */ +/* $OpenBSD: cmd-capture-pane.c,v 1.50 2020/03/19 14:03:48 nicm Exp $ */ /* * Copyright (c) 2009 Jonathan Alvarado <radobobo@users.sourceforge.net> @@ -80,7 +80,7 @@ cmd_capture_pane_pending(struct args *args, struct window_pane *wp, size_t linelen; u_int i; - pending = input_pending(wp); + pending = input_pending(wp->ictx); if (pending == NULL) return (xstrdup("")); |