diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-04 15:04:58 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-04 15:04:58 +0200 |
| commit | 1d467dfda339623847bd4f86065dce794fb39ef3 (patch) | |
| tree | 339bcf85a8fa91e46ac31d63c35c7ba29f069a16 /internal | |
| parent | 3aef4dedcfd1ad408c6cb6c06e5e731feb528a1e (diff) | |
| download | opencode-1d467dfda339623847bd4f86065dce794fb39ef3.tar.gz opencode-1d467dfda339623847bd4f86065dce794fb39ef3.zip | |
Fix status message clearing issue
- Add missing case for ClearStatusMsg in main TUI update function
- Ensures status messages are properly cleared after timeout
🤖 Generated with termai
Co-Authored-By: termai <[email protected]>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/tui/tui.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/tui/tui.go b/internal/tui/tui.go index afbd9413e..97f876a2d 100644 --- a/internal/tui/tui.go +++ b/internal/tui/tui.go @@ -123,6 +123,8 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { a.status, _ = a.status.Update(msg) case util.ErrorMsg: a.status, _ = a.status.Update(msg) + case util.ClearStatusMsg: + a.status, _ = a.status.Update(msg) case tea.KeyMsg: if a.editorMode == vimtea.ModeNormal { switch { |
