micro-editor / micro-editor/micro
Keybinding CtrlSpace appears to be broken 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
Steps to Reproduce
- Create a keybinding for
CtrlSpacein bindings.json - Open a file in micro (in the environment specified below)
- Open raw mode from the command bar
- Press
CtrlSpace - Observe that the expected characters are registered by micro
- Exit raw mode (
Ctrl-q) - Press
CtrlSpace
Expected Result
The action bound to CtrlSpace in binding.json is executed.
Observed Result
A space is added to the open file at the cursor's location.
Environment
Commit hash: 68d88b57
OS: Windows 10
Terminal: Windows Terminal
Shell: Powershell 7.4.2
Notes
I've tested these same steps in Kitty on Fedora 40 and this issue isn't present in that environment. I also tested multiple actions to make sure it was the binding and not the action.
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 steps with the CtrlSpace binding in bindings.json on Windows 10 and Windows Terminal, comparing raw mode with normal mode. Trace the keybinding and input handling reached from the command bar's raw mode; done means CtrlSpace triggers the configured action without inserting a space.
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