You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clipboard wiki page should mention allow-passthrough option #4214
allow-passthrough is not required for set-clipboard.
Interesting, it seems to be required in my case. Note that what doesn't work without it is OSC52 from applications run within tmux (i.e. set-clipboard on, not external), copying from tmux itself to the system clipboard via OSC52 works fine without it. It made sense to me that this might be blocked based on the description of allow-passthrough.
Activity
nicm commentedon Oct 26, 2024
allow-passthrough is not required for set-clipboard.
graham33 commentedon Oct 26, 2024
Interesting, it seems to be required in my case. Note that what doesn't work without it is OSC52 from applications run within tmux (i.e.
set-clipboard on, notexternal), copying from tmux itself to the system clipboard via OSC52 works fine without it. It made sense to me that this might be blocked based on the description ofallow-passthrough.nicm commentedon Oct 26, 2024
Probably whatever applications you are using are using the bypass sequence rather than just setting the clipboard normally.
graham33 commentedon Oct 27, 2024
It's just Emacs using clipetty, which is hopefully not doing anything too unusual. I also noticed that https://github.com/theimpostor/osc has an explicit check for allow-passthrough, which implies I'm not the only one to encounter this.
Anyway, happy to close this if you think it's not a general issue, just thought it would be worth flagging. Thanks!
crzcrz commentedon Oct 27, 2024
Emacs' built-in
xterm.elfully supports OSC52 clipboard access, there's no need in extra packages, they only cause issues.github-actions commentedon Nov 27, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed.