mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
Pasting mouse escape sequences is unlikely, so skip them when working
out whether the user is pasting.
This commit is contained in:
parent
26a55ddcf9
commit
2e2b8a95bd
@ -598,7 +598,7 @@ server_client_handle_key(struct client *c, int key)
|
||||
m->valid = 0;
|
||||
|
||||
/* Treat everything as a regular key when pasting is detected. */
|
||||
if (server_client_assume_paste(s)) {
|
||||
if (!KEYC_IS_MOUSE(key) && server_client_assume_paste(s)) {
|
||||
if (!(c->flags & CLIENT_READONLY))
|
||||
window_pane_key(wp, c, s, key, m);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user