Ctrl+C quits from any depth #25
Loading…
Reference in a new issue
No description provided.
Delete branch "ctrl-c-quit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/FZT2-7
Ctrl+C now closes fzt in one press from any depth, mode or the
/pop-up. Escape still steps back one level at a time.quitincore/input.go, checked first inHandleUnifiedKeyResultandHandleKeyEventResult(tree and flat). A rename in progress is put back first, so a host that saves on exit never writes a half-typed name./pop-up's key list as "close menu" (it shares Escape's row at the top level and has a row of its own inside a folder).core/quit_test.gocovers the top level, a search inside a folder, the open pop-up, the flat list and a rename. fzt-terminal's and fzt-automate'sgo test ./...pass against this checkout.