aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/ui.go')
-rw-r--r--lib/ui/ui.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ui/ui.go b/lib/ui/ui.go
index ea181d33..bbaa3a29 100644
--- a/lib/ui/ui.go
+++ b/lib/ui/ui.go
@@ -17,9 +17,10 @@ type AercFuncMsg struct {
Func func()
}
-// QueueRedraw sends a nil message into the MsgChannel. Nothing will handle this
-// message, but a redraw will occur if the UI is marked as invalid
+// QueueRedraw marks the UI as invalid and sends a nil message into the
+// MsgChannel. Nothing will handle this message, but a redraw will occur
func QueueRedraw() {
+ Invalidate()
MsgChannel <- nil
}