micro-editor / micro-editor/micro
Some keys do not work properly
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
So far I've noticed that Escape and F4 either don't work, or don't work as they should. For example Escape has the default binding of "Escape,Deselect,ClearInfo,RemoveAllMultiCursors", but it does not clear selection, and upon a prompt (yes/no/esc) when trying to cancel closing a file with unsaved changes pressing Escape has no effect. Pressing F4 upon the prompt similarly does nothing, while F10 and Ctrl-Q work as expected. It is also impossible to close the command prompt with F4, although it does close tabs and windows alright.
Version: 2.0.10
Commit hash: b9763856
OS: Windows 11 21H2 Build 22000.318 (10.0.22000)
Terminal: similar behavior in Windows Terminal Preview (1.12.2931.0) as well as conhost.exe
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
Reproduce the Escape and F4 behavior on Windows 11 in Windows Terminal or conhost.exe, including unsaved-file prompts, command prompts, tabs, and windows. Trace the key handling for the listed Escape binding and F4, then verify that Escape clears selections and cancels prompts while F4 closes the command prompt without breaking its working tab and window behavior.
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
- 42/100