mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
feat(tui): custom commands
This commit is contained in:
parent
2407b33b1b
commit
fdfb54aea5
21 changed files with 526 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue