Fix alignment on download progress example
This commit is contained in:
parent
e958dcb451
commit
fccc859d57
1 changed files with 2 additions and 2 deletions
|
@ -262,9 +262,9 @@ func dirSize(path string) (int64, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Output looks like
|
/* Output looks like
|
||||||
Errored.Download.mkv | | (error: could not stat file)
|
|
||||||
Totally.Legit.Download.x264-KILLERS |===============> | (50%)
|
Totally.Legit.Download.x264-KILLERS |===============> | (50%)
|
||||||
ubuntu.13.37.iso |===> | ( 7%)
|
ubuntu.13.37.iso |===> | ( 7%)
|
||||||
|
Errored.Download.mkv | | (error: could not stat file)
|
||||||
*/
|
*/
|
||||||
func (q *Queue) getDownloadStatus(downloadsRunning map[string]downloadInfo) string {
|
func (q *Queue) getDownloadStatus(downloadsRunning map[string]downloadInfo) string {
|
||||||
// We use maps so that we can traverse in name order
|
// We use maps so that we can traverse in name order
|
||||||
|
|
Loading…
Reference in a new issue