mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 05:59:50 +00:00
small fixes
This commit is contained in:
parent
d39d52d95d
commit
635324d386
4 changed files with 5 additions and 4 deletions
|
|
@ -131,6 +131,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
TTL: msg.Payload.PersistTime,
|
||||
})
|
||||
}
|
||||
cmds = append(cmds, cmd)
|
||||
}
|
||||
case util.ClearStatusMsg:
|
||||
a.status, _ = a.status.Update(msg)
|
||||
|
|
@ -205,8 +206,6 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
a.status, cmd = a.status.Update(msg)
|
||||
cmds = append(cmds, cmd)
|
||||
if a.dialogVisible {
|
||||
d, cmd := a.dialog.Update(msg)
|
||||
a.dialog = d.(core.DialogCmp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue