From 0d195077e4a32a4241b19b1c29939a2f274fc3dd Mon Sep 17 00:00:00 2001 From: Antoine Gaudreau Simard Date: Tue, 5 May 2026 18:35:50 -0400 Subject: [PATCH] Improve performance when drawing the spinner on background events --- pkg/gui/controllers/helpers/app_status_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/controllers/helpers/app_status_helper.go b/pkg/gui/controllers/helpers/app_status_helper.go index e7a75f17c..4a6e7726e 100644 --- a/pkg/gui/controllers/helpers/app_status_helper.go +++ b/pkg/gui/controllers/helpers/app_status_helper.go @@ -96,7 +96,7 @@ func (self *AppStatusHelper) renderAppStatus() { for range ticker.C { appStatus, color := self.statusMgr().GetStatusString(self.c.UserConfig()) self.c.Views().AppStatus.FgColor = color - self.c.OnUIThread(func() error { + self.c.OnUIThreadContentOnly(func() error { self.c.SetViewContent(self.c.Views().AppStatus, appStatus) return nil })