-
Notifications
You must be signed in to change notification settings - Fork 12
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
Clipetty not sending cuts to clipboard under local tmux #25
Comments
@jpe90
|
@tyama711 I found using the xclip package alongside clipetty works was a workaround. I didn't realize that it's actually cross-platform and supports Wayland/Windows/MacOS/etc despite the name. |
I have encountered the same problem. |
same problem with tmux 3.4 on Mac. Neither kitty nor iterm seem to work with or without
|
I just built tmux 3.2 from source and the problem remains, so I'm thinking it maybe clipetty to blame after all |
For laughs I did |
Clipetty works for me when I use it outside tmux, or under SSH and tmux, but not under tmux for a local system.
This occurs regardless of whether emacs is run as a daemon or regularly, in all terminals I've tried (kitty, ST, and alacritty) on Linux.
I've tried debugging in the failing case, where I'm using tmux locally.
In this call to
clipetty-emit
with the encoded string that it want to cut, which in the case is the textdefun
,(clipetty--dcs-wrap string tmux term ssh-tty)
evaluates to the following:and
(clipetty-tty ssh-tty tmux)
evaluates to "/dev/tty".Not sure whether that's behaving as expected, but my clipboard doesn't end up receiving the cut.
When I run without tmux,
(clipetty--dcs-wrap string tmux term ssh-tty)
evaluates to"^[]52;c;ZGVmdW4=^G"
and the clipboard does receive the cut.The text was updated successfully, but these errors were encountered: