diff --git a/progress/progress.go b/progress/progress.go index defa9813..8acaea0d 100644 --- a/progress/progress.go +++ b/progress/progress.go @@ -213,7 +213,7 @@ func (m Model) Init() tea.Cmd { // SetPercent to create the command you'll need to trigger the animation. // // If you're rendering with ViewAs you won't need this. -func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { +func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { switch msg := msg.(type) { case FrameMsg: if msg.id != m.id || msg.tag != m.tag {