diff options
author | nicm <nicm> | 2022-06-09 09:12:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-06-09 09:12:55 +0000 |
commit | ccc9dc3bb49ac258c856d8478346b4ce829b188e (patch) | |
tree | 308120cf8fd067226d532f57964b05b096c206f9 /cmd-set-buffer.c | |
parent | c07d582e2476db075252998388305f11302a8b23 (diff) | |
download | rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.tar.gz rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.tar.bz2 rtmux-ccc9dc3bb49ac258c856d8478346b4ce829b188e.zip |
If an application gives the first parameter to OSC 52, validate and pass
on to outside terminal. GitHub issue 3192.
Diffstat (limited to 'cmd-set-buffer.c')
-rw-r--r-- | cmd-set-buffer.c | 2 |
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); } |