Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
inbox/list: Prevent global actions when searching
Erik Kundt committed 3 months ago
commit b8d8e861ae2a37bfbcda1ec9bb47d6a41375f151
parent 81deaae
1 file changed +5 -2
modified bin/commands/inbox/list.rs
@@ -318,8 +318,11 @@ impl Show<Message> 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 }));
+
                        }
                    }
                }