micro-editor / micro-editor/micro
Shift key doesn't work in Micro running in a terminal session with Tmux
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
Steps
- Launch Tmux session to a folder, eg.
tmux new -s foo -c /etc - Open micro: micro
- Type some text in a line
- Move caret to middle of the line
- Press Shift+Left to select some text to the left
- Error: Text is not selected, instead, it shows
[1;2D
The same thing to Shift+Right, it shows [1;2C.
But it seems advanced input all not working in Tmux,
mouse click becomes [<0;34;23m
Specifications
Latest micro, in WSL Bash
Commit hash: --
OS: Windows 11
Terminal: Windows Terminal Bash
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
Start by reproducing the Shift+Left, Shift+Right, and mouse-input failures in a WSL Bash session inside Tmux, using the steps in the issue. Inspect micro's terminal input handling and compare the escape sequences received with and without Tmux. Done means shifted selection and mouse clicks work normally in Tmux without displaying raw escape sequences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100