mobile-shell / mobile-shell/mosh
Text doesn't get to clipboard with `tmux load-buffer -w`
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report by connecting with mosh, opening tmux, and running echo "oh no! It doesn't work" | tmux load-buffer -w -; compare the result with ssh. Start by tracing mosh's handling of clipboard-related terminal data, using the linked workarounds as context. Done means tmux load-buffer -w transfers text as expected over mosh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100