feat(tui): custom commands

This commit is contained in:
adamdotdevin 2025-08-22 14:54:56 -05:00
parent 2407b33b1b
commit fdfb54aea5
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
21 changed files with 526 additions and 26 deletions

View file

@ -174,6 +174,10 @@ func (m *messagesComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
m.viewport.GotoBottom()
m.tail = true
return m, nil
case app.SendCommand:
m.viewport.GotoBottom()
m.tail = true
return m, nil
case dialog.ThemeSelectedMsg:
m.cache.Clear()
m.loading = true