Ctrl+P or mouse click outside the file switcher dialog should close it
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
Right now once you summon the file switcher dialog the only way to close it is to re select the current file (click or with Enter) or the Esc key. If the menu was opened with the mouse a user may want to back out of the dialog by clicking outside of the boundaries of the window, or a keyboard user want to close the dialog with the same key shortcut that summoned it.
Right now it can feel like you've become trapped it the dialog or have to pick a file again unless you make a change to a different use pattern to press Esc to close without making a new selection
Contributor guide
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 locating the file switcher dialog and its mouse and keyboard event handling. Check how Ctrl+P, Enter, and Esc currently affect the dialog, then verify that clicking outside it or pressing Ctrl+P again closes it without selecting a different file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100