aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-07-03 08:12:50 +0200
committerReto Brunner <reto@labrat.space>2020-07-05 12:22:45 +0200
commit6abe1c708f1242861eaa52aecc65d8d3df821ff3 (patch)
tree4529e6287504ae98d34e7fc6f32ae40a0262ba3d
parentfc2c6fff0d141ecdcabb7c10dca4e737e78937ad (diff)
downloadaerc-6abe1c708f1242861eaa52aecc65d8d3df821ff3.tar.gz
status: invalidate when needed
In order for the message to actually show up we need to invalidate after setting the status stack.
-rw-r--r--widgets/status.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/status.go b/widgets/status.go
index 8d0a1aec..6bdeb4f7 100644
--- a/widgets/status.go
+++ b/widgets/status.go
@@ -81,6 +81,7 @@ func (status *StatusLine) Push(text string, expiry time.Duration) *StatusMessage
}
status.Invalidate()
})()
+ status.Invalidate()
return msg
}