Documentation
¶
Overview ¶
Package spinner is a simple implementation of spinner component
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDotSet = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏"
DefaultDotSet is the default dot set for spinner.
Functions ¶
This section is empty.
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner is the spinner indicator for terminal.
func NewSpinner ¶
func NewSpinner() *Spinner
NewSpinner will create a new spinner with default charset.
func NewSpinnerWithCharset ¶
NewSpinnerWithCharset will create a new spinner based on the charset.
Click to show internal directories.
Click to hide internal directories.