diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-02-15 16:01:11 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-02-15 16:01:11 +0000 |
commit | 85ef73591da51be51c0ead6e7ae4414e349d46d3 (patch) | |
tree | 131aeb5d8cdb71e470c0c20b5527d26d5fac5717 /tty-keys.c | |
parent | df681390a6861b6a77d4623baf46d0a435729003 (diff) | |
parent | 5076beb009f761999a3b218a1a8d7cbfbc80ee03 (diff) | |
download | rtmux-85ef73591da51be51c0ead6e7ae4414e349d46d3.tar.gz rtmux-85ef73591da51be51c0ead6e7ae4414e349d46d3.tar.bz2 rtmux-85ef73591da51be51c0ead6e7ae4414e349d46d3.zip |
Merge branch 'obsd-master' into master
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1217,6 +1217,11 @@ tty_keys_clipboard(__unused struct tty *tty, const char *buf, size_t len, buf++; end--; + /* If we did not request this, ignore it. */ + if (~tty->flags & TTY_OSC52QUERY) + return (0); + tty->flags &= ~TTY_OSC52QUERY; + /* It has to be a string so copy it. */ copy = xmalloc(end + 1); memcpy(copy, buf, end); |