feat: open providers with Command-P and dismiss pickers with Escape

This commit is contained in:
2026-10-18 00:34:15 +02:00
parent 86632f1d86
commit f12ef7e7a1
6 changed files with 42 additions and 10 deletions
@@ -308,6 +308,9 @@ final class ApplicationActionsController: NSViewController, NSSearchFieldDelegat
func handle(_ selector: Selector) -> Bool {
switch selector {
case #selector(NSResponder.cancelOperation(_:)):
guard isShown else { return false }
close()
case #selector(NSResponder.insertNewline(_:)):
if let selectedEntry { chooseAction(at: selectedEntry) }
case #selector(NSResponder.moveUp(_:)): moveSelection(by: -1)