You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I kinda like how configuring a spinner works, but setting a color is awkward. While the usage is documented and states, that the spinner is restarted with the given color, this is kinda awkward when using it in a constructor:
// This spinner starts right away:sp:=spinner.New(
spinner.CharSets[11],
time.Millisecond*100,
spinner.WithColor("green"),
)
Maybe this should be revisited since the default state of a spinner should be stopped.
The text was updated successfully, but these errors were encountered:
I kinda like how configuring a spinner works, but setting a color is awkward. While the usage is documented and states, that the spinner is restarted with the given color, this is kinda awkward when using it in a constructor:
Maybe this should be revisited since the default state of a spinner should be stopped.
The text was updated successfully, but these errors were encountered: