Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 1d467df

Browse files
kujtimiihoxhatermai
andcommitted
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 <noreply@termai.io>
1 parent 3aef4de commit 1d467df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/tui/tui.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
123123
a.status, _ = a.status.Update(msg)
124124
case util.ErrorMsg:
125125
a.status, _ = a.status.Update(msg)
126+
case util.ClearStatusMsg:
127+
a.status, _ = a.status.Update(msg)
126128
case tea.KeyMsg:
127129
if a.editorMode == vimtea.ModeNormal {
128130
switch {

0 commit comments

Comments
 (0)