Open minhkhiemm opened 4 years ago
I want to add the break line between prefix and the progress bar [1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58
[1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58
to be like this:
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!!
I want to add the break line between prefix and the progress bar
[1/3]Prefix [2/3]#####################################################--------------------------------------------------------------------------------------------21/58
to be like this:
my code:
Many thanks!!