about summary refs log tree commit diff stats
path: root/widgets
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-09-11 21:01:05 +0200
committerDrew DeVault <sir@cmpwn.com>2019-09-12 16:17:24 -0400
commita93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d (patch)
treed5b2451f9a5bb6d79b284ea618361ed4d8eb4a33 /widgets
parent618a500341d54ec5bec6d035a86b1307ff1dad0a (diff)
downloadaerc-a93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d.tar.gz
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')
-rw-r--r--widgets/spinner.go6
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 {