Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
bin/issue/list: Remove comment select sent on scroll
✗ CI failure Erik Kundt committed 4 months ago
commit 27b3fd7be70d611cdcb378d772e9b195791b01a8
parent 3d24964a24b01947fc40cbb4d371cc101fef8111
1 failed (1 total) View logs
1 file changed +2 -7
modified bin/commands/issue/list.rs
@@ -643,16 +643,11 @@ fn comment(channel: &Channel<Message>) -> Widget<State, Message> {
                .to_boxed_any()
                .into()
        })
-
        .on_event(|event, s, _| match event {
+
        .on_event(|event, _, _| match event {
            Event::Key(Key::Char('c')) => Some(Message::Exit {
                operation: Some(RequestedIssueOperation::Reply),
            }),
-
            _ => Some(Message::SelectComment {
-
                selected: s.and_then(|s| {
-
                    s.unwrap_tree()
-
                        .map(|tree| tree.iter().map(|id| Oid::from_str(id).unwrap()).collect())
-
                }),
-
            }),
+
            _ => None,
        })
}