mirror of
https://github.com/tmux/tmux.git
synced 2025-12-23 16:56:06 +00:00
Merge 8ca212579a into 096c4b3e63
This commit is contained in:
@@ -1352,8 +1352,10 @@ tty_keys_clipboard(struct tty *tty, const char *buf, size_t len, size_t *size)
|
||||
end--;
|
||||
|
||||
/* If we did not request this, ignore it. */
|
||||
if (~tty->flags & TTY_OSC52QUERY)
|
||||
return (0);
|
||||
if (~tty->flags & TTY_OSC52QUERY) {
|
||||
return options_get_number(global_options,
|
||||
"forward-unrequested-escseq") ? (-1) : (0);
|
||||
}
|
||||
tty->flags &= ~TTY_OSC52QUERY;
|
||||
evtimer_del(&tty->clipboard_timer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user