Indent progress bar to fit under a status item
parent
b73ec8cf05
commit
d2b675a7fb
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue