From 81deaae7add66be929079edde39a00851382df55 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Thu, 8 Jan 2026 17:46:45 +0100 Subject: [PATCH] patch/list: Prevent global actions when searching --- bin/commands/patch/list.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/commands/patch/list.rs b/bin/commands/patch/list.rs index 63c528b6..d7efd119 100644 --- a/bin/commands/patch/list.rs +++ b/bin/commands/patch/list.rs @@ -274,8 +274,10 @@ 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 })); + } } }