From 6abe1c708f1242861eaa52aecc65d8d3df821ff3 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Fri, 3 Jul 2020 08:12:50 +0200 Subject: [PATCH] status: invalidate when needed In order for the message to actually show up we need to invalidate after setting the status stack. --- widgets/status.go | 1 + 1 file changed, 1 insertion(+) 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 }