Indent progress bar to fit under a status item

pull/5385/head
tstromberg 2019-09-17 17:47:45 -07:00
parent b73ec8cf05
commit d2b675a7fb
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func (cpb *progressBar) TrackProgress(src string, currentSize, totalSize int64,
cpb.progress = pb.New64(totalSize)
}
p := pb.Full.Start64(totalSize)
p.Set("prefix", filepath.Base(src+": "))
p.Set("prefix", " > "+filepath.Base(src+": "))
p.SetCurrent(currentSize)
p.Set(pb.Bytes, true)