Open
Description
I want to add the break line between prefix and the progress bar
[1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58
to be like this:
[1/3]Prefix
[2/3]#####################################################--------------------------------------------------------------------------------------------21/58
my code:
bar.Prefix(fmt.Sprintf("[1/3] Prefix)) // add \n after this won't work
bar.Increment()
bar.BarEnd = fmt.Sprintf(
"%v/%v",
bar.Get(),
len(total),
)
Many thanks!!
Metadata
Metadata
Assignees
Labels
No labels