diff options
Diffstat (limited to 'widgets/spinner.go')
-rw-r--r-- | widgets/spinner.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/spinner.go b/widgets/spinner.go index be95d39..51b8c1b 100644 --- a/widgets/spinner.go +++ b/widgets/spinner.go @@ -1,9 +1,9 @@ package widgets import ( + "strings" "sync/atomic" "time" - "strings" "github.com/gdamore/tcell" @@ -13,9 +13,9 @@ import ( type Spinner struct { ui.Invalidatable - frame int64 // access via atomic + frame int64 // access via atomic frames []string - stop chan struct{} + stop chan struct{} } func NewSpinner(uiConf *config.UIConfig) *Spinner { |