mobile-shell / mosh

Mobile Shell
https://mosh.org
GNU General Public License v3.0
12.7k stars 743 forks source link

Text doesn't get to clipboard with `tmux load-buffer -w` #1311

Open useche opened 8 months ago

useche commented 8 months ago

Hi!

When I connect remotely with mosh, open tmux and run tmux load-buffer -w, the text doesn't work as expected.

$ echo "oh no! It doesn't work" | tmux load-buffer -w -
$ tmux -V
tmux 3.3a
$ mosh --version
mosh 1.4.0 [build mosh 1.4.0]
Copyright 2012 Keith Winstein <mosh-devel@mit.edu>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Things work as expected when using ssh. Any suggestions here? I tried the workaround in https://github.com/mobile-shell/mosh/pull/1054 and no luck. The workaround in https://sunaku.github.io/tmux-yank-osc52.html does work but it is cumbersome.