diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-09 19:18:51 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-09 19:18:51 +0200 |
| commit | 635324d386d52e117efea6fcbe9dbf306ec75653 (patch) | |
| tree | 1016d0b5303968f1023c8fb65f95e0fc3200b178 /internal/tui/tui.go | |
| parent | d39d52d95d6aaab67fb3a17efb9ed62cc290e72f (diff) | |
| download | opencode-635324d386d52e117efea6fcbe9dbf306ec75653.tar.gz opencode-635324d386d52e117efea6fcbe9dbf306ec75653.zip | |
small fixes
Diffstat (limited to 'internal/tui/tui.go')
| -rw-r--r-- | internal/tui/tui.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/tui/tui.go b/internal/tui/tui.go index c94a6b020..233b189dd 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -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) |
