summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-07 19:11:13 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-07 19:11:13 +0300
commit4f0bce50c53267a9f53938ad1b264d5094a08ce4 (patch)
tree9064a4ab75961db8162cc2e30d3d9cb7e5af5c67 /tui.go
parentbf655a10875630a6fe5f283340b6d390a1920b58 (diff)
Chore: one init for clear call order
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go3
1 files changed, 2 insertions, 1 deletions
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()
}