-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tmux 3.4 copy not working #15
Comments
This seems to be working for me with tmux 3.5a. On mac with Alacritty, with no tmux options configured: ❯ tmux -V
tmux 3.5a
❯ echo -n asdf | osc copy
2025/01/20 15:19:36 ERROR tmux allow-passthrough must be set to 'on' or 'all'
tmux allow-passthrough must be set to 'on' or 'all'
❯ tmux set -w allow-passthrough all
❯ echo -n asdf | osc copy
# no error, clipboard contains 'asdf' Does it behave differently if you do Also it appears that if |
I am on tmux 3.5a and it doesnt seem to work with tmux set -g allow-passthrough on, or all i also have tmux set -s set-clipboard on |
It looks like |
Hi there!
I am running WSL2 Ubuntu 24.04 LTS, which comes with tmux 3.4, and while 'osc copy' worked fine outside of tmux (straight wsltty shell), it would not work inside tmux, even though I set the correct options:
(btw, osc paste did work fine, both outside and within tmux)
I managed to work around this, by just making osc believe it was NOT within TMUX (what brought me to do that was the vim-oscyank code, which did not bother with the tmux passthrough escape, worked fine).

Let me know if you need extra information!
The text was updated successfully, but these errors were encountered: