micro-editor / micro-editor/micro

CMD+V bug with Tmux on macOS

Open
#437 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Specifications

OS: Tested in OS X 10.10.5 and macOS 10.12.1

Term: Test in Terminal.app and iTerm2

Tmux 2.3.1

$ micro --version
Version: 1.1.2
Commit hash: c04a4ba
Compiled on October 24, 2016

STR:

  1. Copy some text (e.g. echo test | pbcopy)

  2. Open micro

  3. Press CMD+V (note: not ctrl-V)

Expected behavior:

Like ctrl-V, it should paste text

Actual:

Control characters confuse Tmux. If multiple windows are open, causes Tmux to change windows. With one window open output is:

200~test
[201~
demo

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

Start by reproducing CMD+V in micro 1.1.2 under Terminal.app and iTerm2 with Tmux 2.3.1, using the provided copy-and-paste steps. Trace the terminal input and paste handling, then verify that CMD+V pastes like ctrl-V without emitting control characters or changing Tmux windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, macos
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.