feat(tui): clear the whole queue from the transfers pane

Shift-C in the Downloads/Uploads pane now cancels every live download,
forgets every row — queued, finished or failed — in the session too,
and cancels uploads still streaming, so a shared queue empties for
every window at once. The existing c keeps clearing only finished
transfers.
This commit is contained in:
Michel de Graaf
2026-09-10 10:28:22 +02:00
parent f620ffa08f
commit 4ea1e9c47c
4 changed files with 135 additions and 17 deletions
+3
View File
@@ -569,6 +569,9 @@ impl MainTui {
KeyCode::Char('c') => {
self.clear_finished_downloads();
}
KeyCode::Char('C') => {
self.clear_all_transfers();
}
_ => {}
}
}