diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-21 13:33:51 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:42:29 +0200 |
| commit | e7bb99baab5e6968ce0351d6ad219ed21ceec4df (patch) | |
| tree | 01bee64956837d810a61938bef0f70af006ca4f1 /internal/tui/components/chat | |
| parent | 1da298e7554bab0f7a631a44fed12692d668c024 (diff) | |
| download | opencode-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.go | 1 |
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 } |
