Skip to content

Commit

Permalink
[CLI] Add missing chunk inc to download progress
Browse files Browse the repository at this point in the history
Fixes #22
  • Loading branch information
benbusby committed Feb 10, 2025
1 parent 7b7a48c commit efa93e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/commands/download/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ func showDownloadFileModel(prep PreparedDownload, filename string) {
progress := int((float32(chunk) / float32(p.NumChunks)) * 100)
msg := fmt.Sprintf("Downloading file... (%d%%)", progress)
downloadSpinner.Title(msg)
chunk++
})
}).Run()

Expand Down

0 comments on commit efa93e8

Please sign in to comment.