summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/components/chat
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-21 13:33:51 +0200
committerKujtim Hoxha <[email protected]>2025-04-21 13:42:29 +0200
commite7bb99baab5e6968ce0351d6ad219ed21ceec4df (patch)
tree01bee64956837d810a61938bef0f70af006ca4f1 /internal/tui/components/chat
parent1da298e7554bab0f7a631a44fed12692d668c024 (diff)
downloadopencode-e7bb99baab5e6968ce0351d6ad219ed21ceec4df.tar.gz
opencode-e7bb99baab5e6968ce0351d6ad219ed21ceec4df.zip
fix the memory bug
Diffstat (limited to 'internal/tui/components/chat')
-rw-r--r--internal/tui/components/chat/list.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/tui/components/chat/list.go b/internal/tui/components/chat/list.go
index b09cc4495..03a50541e 100644
--- a/internal/tui/components/chat/list.go
+++ b/internal/tui/components/chat/list.go
@@ -370,6 +370,7 @@ func (m *messagesCmp) SetSize(width, height int) tea.Cmd {
delete(m.cachedContent, msg.ID)
}
m.uiMessages = make([]uiMessage, 0)
+ m.renderView()
return nil
}