micro-editor / micro-editor/micro
Inconsistent keybindings behavior for Alt Shift Combinations
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
When using the same keybindings on Windows and Linux, one works and the other does not.
Given there are two keybindings that are the same but displayed differently
Alt-Shift-EAlt-E
The first one works on Windows but not on Linux, vice versa for the second one.
I tried both by pointing it to empty config directory using micro -config-dir ./tmp and modifying the keybindings there
When running raw, I can see indeed it is capturing different things
On Linux
EventKey: Alt-E: "\x1bE"
On Windows
EventKey: Shift-Alt-E: ""
Specifications
Commit hash: 1f51d0b9 (Windows) 91765082 (Linux)
OS: Windows 11 and Arch Linux
Terminal: WezTerm
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 keybindings with an empty directory via micro -config-dir ./tmp, then use the raw entry point to compare the captured events on Windows and Linux. Trace the keybinding and terminal input handling involved in Alt-E and Alt-Shift-E; done means the same binding behaves consistently across both environments or the platform difference is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100