feat: add download info pane to TUI
Splits the downloads area 60/40 with a new info pane that adapts to the selected download's status: header (filename, user, size, status, save path, bitrate, length) plus queued-specific fields (queue position, peer slots, peer upload speed) or live progress/speed/ETA when transferring. Plumbs queue position via a new ClientOperation::PlaceInQueueUpdate so PlaceInQueueResponse messages from peers reach DownloadStore, and threads search-time metadata (bitrate, length, peer slots/speed) onto Download through a new download_with_metadata entry point.
This commit is contained in:
@@ -6,4 +6,5 @@ pub struct FileDisplayData {
|
||||
pub speed: u32,
|
||||
pub slots: u8,
|
||||
pub bitrate: Option<u32>,
|
||||
pub length_seconds: Option<u32>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user