diff options
author | Reto Brunner <reto@labrat.space> | 2019-09-11 21:01:05 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-12 16:17:24 -0400 |
commit | a93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d (patch) | |
tree | d5b2451f9a5bb6d79b284ea618361ed4d8eb4a33 /widgets/spinner.go | |
parent | 618a500341d54ec5bec6d035a86b1307ff1dad0a (diff) |
Add modify-labels command
This adds the event type as well as the command implementation, but no backend
supports it yet.
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 { |