Update progress bars

This commit is contained in:
timoxa0 2024-06-21 18:30:10 +05:00
parent 5636e187aa
commit 5a57ab02e8

View file

@ -49,14 +49,14 @@ var rootCmd = &cobra.Command{
WithShowElapsedTime(false).
WithRemoveWhenDone(false).
WithShowCount(false).
WithBarFiller(pbarFillStyle.Sprint("")).
WithLastCharacter("").
WithBarCharacter("").
WithBarFiller(pbarFillStyle.Sprint("")).
WithLastCharacter("").
WithBarCharacter("").
WithTitleStyle(pbarTitleStyle).
WithBarStyle(pbarStyle)
spinner = *pterm.DefaultSpinner.
WithRemoveWhenDone(true).
WithSequence("-", "\\", "|", "/").
WithSequence("", "\\", "|", "/").
WithStyle(pbarTitleStyle).
WithDelay(time.Millisecond * 100)
},