micro-editor / micro-editor/micro
[Improvement] Pressing Esc should cancel the save request 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
I'm not able to discard the save action while closing any modified buffer.
Specifications
Given I open a buffer
And I wrote any text
And I want to close modified buffer by Ctrl+Q
And Micro asks me to save changes (y/n) or discard (Esc) the action
When I press Esc in order to discard the action
Then Micro discards the close action
And moves the focus back to the original modified buffer.
Version
Version: 2.0.2-15
Commit hash: db32b84
Compiled on February 15, 2020
OS: Windows 10
Terminal: Windows Terminal, ConEmu
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 save prompt on Windows by opening a modified buffer, pressing Ctrl+Q, and then pressing Esc. Trace the handling of the save/discard prompt and verify that Esc cancels the close request, returns focus to the modified buffer, and leaves its changes intact.
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
- 45/100