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). WithShowElapsedTime(false).
WithRemoveWhenDone(false). WithRemoveWhenDone(false).
WithShowCount(false). WithShowCount(false).
WithBarFiller(pbarFillStyle.Sprint("")). WithBarFiller(pbarFillStyle.Sprint("")).
WithLastCharacter(""). WithLastCharacter("").
WithBarCharacter(""). WithBarCharacter("").
WithTitleStyle(pbarTitleStyle). WithTitleStyle(pbarTitleStyle).
WithBarStyle(pbarStyle) WithBarStyle(pbarStyle)
spinner = *pterm.DefaultSpinner. spinner = *pterm.DefaultSpinner.
WithRemoveWhenDone(true). WithRemoveWhenDone(true).
WithSequence("-", "\\", "|", "/"). WithSequence("", "\\", "|", "/").
WithStyle(pbarTitleStyle). WithStyle(pbarTitleStyle).
WithDelay(time.Millisecond * 100) WithDelay(time.Millisecond * 100)
}, },