From b8d8e861ae2a37bfbcda1ec9bb47d6a41375f151 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Thu, 8 Jan 2026 17:46:45 +0100 Subject: [PATCH] inbox/list: Prevent global actions when searching --- bin/commands/inbox/list.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/commands/inbox/list.rs b/bin/commands/inbox/list.rs index 5a34bc10..3a76638a 100644 --- a/bin/commands/inbox/list.rs +++ b/bin/commands/inbox/list.rs @@ -318,8 +318,11 @@ impl Show for App { } }, ); - if ui.has_input(|key| key == Key::Char('?')) { - ui.send_message(Message::Changed(Change::Page { page: Page::Help })); + + if !show_search { + if ui.has_input(|key| key == Key::Char('?')) { + ui.send_message(Message::Changed(Change::Page { page: Page::Help })); + } } }