aboutsummaryrefslogtreecommitdiff
path: root/cmd-load-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-load-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-load-buffer.c')
-rw-r--r--cmd-load-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-load-buffer.c b/cmd-load-buffer.c
index 59810dea..70fd7ed9 100644
--- a/cmd-load-buffer.c
+++ b/cmd-load-buffer.c
@@ -77,7 +77,7 @@ cmd_load_buffer_done(__unused struct client *c, const char *path, int error,
} else if (tc != NULL &&
tc->session != NULL &&
(~tc->flags & CLIENT_DEAD))
- tty_set_selection(&tc->tty, copy, bsize);
+ tty_set_selection(&tc->tty, "", copy, bsize);
if (tc != NULL)
server_client_unref(tc);
}