diff options
Diffstat (limited to 'internal/tui/page')
| -rw-r--r-- | internal/tui/page/chat.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/tui/page/chat.go b/internal/tui/page/chat.go index 134de6afd..bf30193f5 100644 --- a/internal/tui/page/chat.go +++ b/internal/tui/page/chat.go @@ -114,6 +114,7 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) { // Continue sending keys to layout->chat case key.Matches(msg, keyMap.NewSession): p.app.Session = &client.SessionInfo{} + p.app.Messages = []client.MessageInfo{} return p, tea.Batch( p.clearSidebar(), util.CmdHandler(state.SessionClearedMsg{}), |
