From 4f0bce50c53267a9f53938ad1b264d5094a08ce4 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 7 Mar 2026 19:11:13 +0300 Subject: Chore: one init for clear call order --- tui.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tui.go') diff --git a/tui.go b/tui.go index c6ab392..9c81f7d 100644 --- a/tui.go +++ b/tui.go @@ -224,7 +224,7 @@ func showToast(title, message string) { }) } -func init() { +func initTUI() { // Start background goroutine to update model color cache startModelColorUpdater() tview.Styles = colorschemes["default"] @@ -1173,4 +1173,5 @@ func init() { } return event }) + go updateModelLists() } -- cgit v1.2.3