summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-17 16:19:33 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-17 16:19:33 +0300
commit7d18a9d77eca3b286849ae0a134f9d7277249bef (patch)
tree737609dbf8099277a1d57a6f360d3e00b3d50fd7 /helpfuncs.go
parentb67ae1be98f3131fa8cec9ae01d8f86fd4df8e06 (diff)
Feat: indicator for a message with an image [image: filename]
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) {