Private
Public Access
1
0

Start new conversations from TUI

This commit is contained in:
2024-09-21 02:47:03 +00:00
parent a1fdf3f7cd
commit b8e3172ce0
4 changed files with 20 additions and 2 deletions

View File

@@ -52,6 +52,11 @@ func (m *Model) handleInput(msg tea.KeyMsg) tea.Cmd {
m.rebuildMessageCache()
m.updateContent()
return shared.KeyHandled(msg)
case "ctrl+n":
m.App.ClearConversation()
m.rebuildMessageCache()
m.updateContent()
return shared.KeyHandled(msg)
}
return nil
}