Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
inbox/list: Prevent global actions when searching
✗ CI failure Erik Kundt committed 4 months ago
commit b8d8e861ae2a37bfbcda1ec9bb47d6a41375f151
parent 81deaae7add66be929079edde39a00851382df55
1 failed (1 total) View logs
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 }));
+
                        }
                    }
                }