Chore: one init for clear call order

This commit is contained in:
Grail Finder
2026-03-07 19:11:13 +03:00
parent bf655a1087
commit 4f0bce50c5
4 changed files with 54 additions and 105 deletions

3
tui.go
View File

@@ -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()
}