From 27b3fd7be70d611cdcb378d772e9b195791b01a8 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Mon, 22 Dec 2025 13:06:30 +0100 Subject: [PATCH] bin/issue/list: Remove comment select sent on scroll --- bin/commands/issue/list.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/commands/issue/list.rs b/bin/commands/issue/list.rs index db3f6f02..d2da9cbd 100644 --- a/bin/commands/issue/list.rs +++ b/bin/commands/issue/list.rs @@ -643,16 +643,11 @@ fn comment(channel: &Channel) -> Widget { .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, }) }