summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go13
1 files changed, 5 insertions, 8 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index cc6bfe3..810b577 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -54,14 +54,11 @@ func refreshChatDisplay() {
// Filter messages for this character
filteredMessages := filterMessagesForCharacter(chatBody.Messages, viewingAs)
displayText := chatToText(filteredMessages, cfg.ShowSys)
- // Use QueueUpdate for thread-safe UI updates
- app.QueueUpdate(func() {
- textView.SetText(displayText)
- colorText()
- if scrollToEndEnabled {
- textView.ScrollToEnd()
- }
- })
+ textView.SetText(displayText)
+ colorText()
+ if scrollToEndEnabled {
+ textView.ScrollToEnd()
+ }
}
func stopTTSIfNotForUser(msg *models.RoleMsg) {