mirror of
https://github.com/esimov/pigo.git
synced 2025-10-19 22:34:51 +08:00
fix: requesting plc flag in case is not provided when using the -flpc flag #59
This commit is contained in:
@@ -29,8 +29,8 @@ const (
|
||||
defaultColor = "\x1b[0m"
|
||||
)
|
||||
|
||||
// NewProgressIndicator instantiates a new progress indicator.
|
||||
func NewProgressIndicator(msg string, d time.Duration) *ProgressIndicator {
|
||||
// NewSpinner instantiates a new progress indicator.
|
||||
func NewSpinner(msg string, d time.Duration) *ProgressIndicator {
|
||||
return &ProgressIndicator{
|
||||
mu: &sync.RWMutex{},
|
||||
delay: d,
|
||||
|
Reference in New Issue
Block a user