From 0dededa45262f1f8b6f3c424ed6127319bc689fd Mon Sep 17 00:00:00 2001 From: Lilith Date: Tue, 20 Jan 2026 02:37:40 -0800 Subject: [PATCH] Fix: Add ESC key handling to listBox in ServicePickerModal --- src/widgets/ServicePickerModal.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/widgets/ServicePickerModal.ts b/src/widgets/ServicePickerModal.ts index 4674fc1..792f0e4 100644 --- a/src/widgets/ServicePickerModal.ts +++ b/src/widgets/ServicePickerModal.ts @@ -205,6 +205,11 @@ export class ServicePickerModal { this.handleSelect() }) + // ESC in list - close modal + this.listBox.key(['escape', 'q'], () => { + this.hide() + }) + // Back to search this.listBox.key(['/', 'i'], () => { this.searchBox.focus()