aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/status.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-11 20:04:21 -0400
committerDrew DeVault <sir@cmpwn.com>2018-06-11 20:04:21 -0400
commit6728a11fdf863f7a33eb14e84421b828ab28c09f (patch)
treec9e1dcb85e34273b3f166f50a84e608aafe4e502 /widgets/status.go
parentd67c8a60ef9a326ba7e2ff0b5755d8eba629d4eb (diff)
downloadaerc-6728a11fdf863f7a33eb14e84421b828ab28c09f.tar.gz
Apply gofmt
Diffstat (limited to 'widgets/status.go')
-rw-r--r--widgets/status.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/status.go b/widgets/status.go
index 3b4dbcce..b7d94904 100644
--- a/widgets/status.go
+++ b/widgets/status.go
@@ -31,7 +31,7 @@ func NewStatusLine() *StatusLine {
}
}
-func (status *StatusLine) OnInvalidate(onInvalidate func (d ui.Drawable)) {
+func (status *StatusLine) OnInvalidate(onInvalidate func(d ui.Drawable)) {
status.onInvalidate = onInvalidate
}
@@ -68,7 +68,7 @@ func (status *StatusLine) Push(text string, expiry time.Duration) *StatusMessage
message: text,
}
status.stack = append(status.stack, msg)
- go (func () {
+ go (func() {
time.Sleep(expiry)
for i, m := range status.stack {
if m == msg {