-
Notifications
You must be signed in to change notification settings - Fork 59
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
copy to clipboard doesn't work on my chromebook with tmux #190
Comments
Try this with the "Mosh (dev)" version in the Chrome Web Store to see if the problem persists. It has a newer hterm (the shared terminal emulator), which may have solved the issue. I'm also going to push an even newer one tonight (will be in v0.5.5). |
No success. Just to clarify further. Having this line in tmux.conf
Somehow defeats the copy to clipboard action. ( This is a chromebook ) For example, I exited tmux (where I found no success). Now, outside of tmux, I can highlight text with the trackpad, and as soon as I release I get a scissors icon flash in the middle of the screen, and now I can paste anywhere. As I mentioned earlier, this is not a problem with secure shell app. Its my understanding that there are some obscure code sequences being sent from tmux to the remote client that activates the system clipboard. Maybe mosh is ignoring them and secure shell isn't. |
AFAIK you have to disable the mouse control if you want to use mouse to select text when using tmux (and e.g. vim too, for that matter). Disable mouse control in tmux: Disable mouse control in vim: |
Do you have to manually disable and re-enable mouse support in On MacOS, you can simply press the In Cygwin on Windows, you can use Even Termux in Android has Is native ChromeOS, with either Crouton, or Crostini, really not capable of clipboard / paste-buffer management from the command line at all?
|
I'd be the first to say this must be a screw up with my settings, but I have I have no problem on the SecureShellApp, just this app.
Start up mosh on chromebook, log in.
Look at prompt- select prompt with mouse, let go, I get a copy icon popup in middle of screen for a second. Now I can ctrl-shift-v and copy back to terminal.
Start up tmux, cant copy anything new, can only past what was copied from before.
I can repeat this procedure with SecureShellApp and have no problems,
Even funkier, I can start up a secure shell app, login, attach tmux, and it fixes the copy problem with mosh if I run them together.
EDIT:
This definitely has something to do with mouse mode ( if it isn't obvious by now )
It seems like secure shell app just has a little extra secret sauce that mosh doesn't have to kick off the copy, if I were to guess I think it happens right on mouse button release.
The text was updated successfully, but these errors were encountered: