mobile-shell / mobile-shell/mosh

tmux copy buffer is not transferred to clipboard.

Open
#967 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
14.5k
Forks
865
PR merge metrics
No merged PRs in 30d

Description

I'm having exact the same problem which @alexbozhenko mentioned here.
https://github.com/mobile-shell/mosh/pull/899#issuecomment-318419520

MacOs Sierra 10.12.5 ->
ITerm2 3.0.15 -> "Applications in terminal may access clipboard" checkbox is set in preferences-general ->
ssh to centos 7 server -> start tmux 2.2 -> copy some text to tmux buffer -> this text also copied to mac clipboard
If I change ssh to mosh, tmux buffer doesn't appear in mac clipboard. Looks like tmux is using osc 52 to do that? If this patch would fix that, that would be awesome)

And, I think the issue was resolved with the pull request.
But I'm still having the same problem.
I tested the recent master branch on iterm 2 and MacOS 10.13.3.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported difference between SSH and mosh using tmux 2.2, iTerm2, and macOS, then read the referenced mosh pull request #899 and the OSC 52 clipboard behavior. Done means text copied into the tmux buffer reaches the local Mac clipboard when connected through mosh, as it does through SSH.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.