From 7bcc0d16f24506bed6568ba36bcd278cfc06d069 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Apr 2019 09:03:39 +0000 Subject: Add an argument to copy commands to set the prefix for the buffer name, allows buffers for different sessions to be named separately. --- tty-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty-keys.c') diff --git a/tty-keys.c b/tty-keys.c index da84077b..7557eca0 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -976,7 +976,7 @@ tty_keys_clipboard(__unused struct tty *tty, const char *buf, size_t len, /* Create a new paste buffer. */ log_debug("%s: %.*s", __func__, outlen, out); - paste_add(out, outlen); + paste_add(NULL, out, outlen); return (0); } -- cgit