diff options
author | Reto Brunner <reto@labrat.space> | 2020-07-03 08:12:50 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-07-05 12:22:45 +0200 |
commit | 6abe1c708f1242861eaa52aecc65d8d3df821ff3 (patch) | |
tree | 4529e6287504ae98d34e7fc6f32ae40a0262ba3d /widgets | |
parent | fc2c6fff0d141ecdcabb7c10dca4e737e78937ad (diff) | |
download | aerc-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.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/status.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/status.go b/widgets/status.go index 8d0a1ae..6bdeb4f 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 } |