micro-editor / micro-editor/micro
Binding Backspace related keys do not work on Windows
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
It seems like Windows is using OldBackspace instead of Backspace, unlike on Linux. This is very similar to #3305 where some keybindings representations work on Linux and some don't on Windows. This one is slightly different though I guess.
So if you have something like
"Alt-Backspace": "DeleteSubWordLeft"
It won't work on Windows. And there isn't any documentation regarding this AFAIK. I think the proper solution is to merge these two bindings into just Backspace and handle the difference ourselves without exposing this technicality to the users.
Specifications
Commit hash: 9face74
OS: Windows
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 tracing how the micro keybinding configuration handles Backspace and OldBackspace on Windows, using the Alt-Backspace example and issue #3305 as context. Reproduce the binding with the reported Windows and WezTerm setup, then verify that the documented Backspace form works consistently across platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100