Do not write bracketed paste keys themselves if the pane has not asked

for them.
This commit is contained in:
nicm
2024-12-06 09:06:56 +00:00
parent 6d792e4123
commit 102f34090d
3 changed files with 11 additions and 3 deletions

View File

@ -2581,7 +2581,7 @@ paste_key:
if (c->flags & CLIENT_READONLY)
goto out;
if (event->buf != NULL)
window_pane_paste(wp, event->buf, event->len);
window_pane_paste(wp, key, event->buf, event->len);
key = KEYC_NONE;
goto out;