summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2019-04-02 09:03:39 +0000
committernicm <nicm@openbsd.org>2019-04-02 09:03:39 +0000
commit4aafca52ec817e12172fc9ba1e20654e46c1bbfc (patch)
tree2a1215bc03ce5790854278f942313c62c155b7f8 /usr.bin/tmux/input.c
parentuse a compact list for previous, and tweak a little; ok florian (diff)
downloadwireguard-openbsd-4aafca52ec817e12172fc9ba1e20654e46c1bbfc.tar.xz
wireguard-openbsd-4aafca52ec817e12172fc9ba1e20654e46c1bbfc.zip
Add an argument to copy commands to set the prefix for the buffer name,
allows buffers for different sessions to be named separately.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index c6eb27756ca..272729c9c6f 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.149 2019/03/14 09:53:52 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.150 2019/04/02 09:03:39 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2432,7 +2432,7 @@ input_osc_52(struct input_ctx *ictx, const char *p)
screen_write_stop(&ctx);
notify_pane("pane-set-clipboard", wp);
- paste_add(out, outlen);
+ paste_add(NULL, out, outlen);
}
/* Handle the OSC 104 sequence for unsetting (multiple) palette entries. */