aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-buffer.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-06-09 12:01:09 +0100
committerThomas Adam <thomas@xteddy.org>2022-06-09 12:01:09 +0100
commit810daefdd14d918e31d297a37c16de94d6fd641d (patch)
tree7601bc8443bfc5a03cd8e02c6f56058ee2943f80 /cmd-set-buffer.c
parentbe2eb57d6295a72b870841bbb85e65d624c5d87c (diff)
parentccc9dc3bb49ac258c856d8478346b4ce829b188e (diff)
downloadrtmux-810daefdd14d918e31d297a37c16de94d6fd641d.tar.gz
rtmux-810daefdd14d918e31d297a37c16de94d6fd641d.tar.bz2
rtmux-810daefdd14d918e31d297a37c16de94d6fd641d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-buffer.c')
-rw-r--r--cmd-set-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-set-buffer.c b/cmd-set-buffer.c
index c9ffe5ed..35e72955 100644
--- a/cmd-set-buffer.c
+++ b/cmd-set-buffer.c
@@ -131,7 +131,7 @@ cmd_set_buffer_exec(struct cmd *self, struct cmdq_item *item)
return (CMD_RETURN_ERROR);
}
if (args_has(args, 'w') && tc != NULL)
- tty_set_selection(&tc->tty, bufdata, bufsize);
+ tty_set_selection(&tc->tty, "", bufdata, bufsize);
return (CMD_RETURN_NORMAL);
}