feat: browse the highlighted transfer's user with b

In the Downloads / Uploads pane, b now opens the share of whoever owns
the selected download or upload, the way it already browses the owner of
a highlighted result. With no row selected it still prompts.
This commit is contained in:
Michel de Graaf
2026-09-10 09:04:48 +02:00
parent 9a8f616f9b
commit 611648c5d4
4 changed files with 78 additions and 10 deletions
+4
View File
@@ -151,6 +151,10 @@ impl MainTui {
&& let Some(owner) = self.highlighted_result_owner()
{
self.start_browse(owner);
} else if self.state.focused_pane == FocusedPane::Downloads
&& let Some(user) = self.selected_transfer_user()
{
self.start_browse(user);
} else {
self.state.command_bar_active = true;
self.state.command_bar_mode = CommandBarMode::Browse;