summaryrefslogtreecommitdiffstats
path: root/cmd-load-buffer.c
diff options
context:
space:
mode:
authornicm <nicm>2022-06-09 09:12:55 +0000
committernicm <nicm>2022-06-09 09:12:55 +0000
commitccc9dc3bb49ac258c856d8478346b4ce829b188e (patch)
tree308120cf8fd067226d532f57964b05b096c206f9 /cmd-load-buffer.c
parentc07d582e2476db075252998388305f11302a8b23 (diff)
If an application gives the first parameter to OSC 52, validate and pass
on to outside terminal. GitHub issue 3192.
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);
}