micro-editor / micro-editor/micro

Copy from macOS iTerm2 > Tmux > Micro

Open
#2,428 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Description of the problem or steps to reproduce

Hi, I searched around Google but couldn't find a working answer.
Going so far as reinstalling an xserver on macOS with brew and exporting display using -Y to forward it trough ssh unsecurely to no avail.
I can't get copy to work from inside Micro inside a Tmux session on my iTerm2 Client.
I have mouse-reporting enabled, and in-fact I can copy just fine from just tmux itself (Text is selected in yellow, and on release it copy just fine and report it back to macOS correctly, even if it's a remote SSH session). So my guess is that it struggle to go one level below (micro) and report it to tmux which has to report it back to iTerm2 client.

Thanks a lot for reading.

Specifications

Commit hash: b9763856 (2.0.10)
OS: 12.13.1 (Client) - Linux Raspberry 5.4.0-1059-raspi #67-Ubuntu SMP PREEMPT Mon Apr 11 14:16:01 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux (Server)
Terminal: iTerm2

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 copy failure with Micro 2.0.10 inside a tmux session launched from iTerm2, including over SSH on the listed Raspberry Pi environment. Start by tracing how mouse reporting and terminal clipboard copy are handled across Micro and tmux; done means selected text copies back to macOS reliably in this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.