charmbracelet / bubbles

TUI components for Bubble Tea 🫧
MIT License
5.24k stars 247 forks source link

fix(progress): Change reference from tea.Model to Model in Progress.Update #546

Open FOREVEREALIZE opened 1 month ago

FOREVEREALIZE commented 1 month ago

Currently Progress.Update returns tea.Model, therefore making it incompatible with progress.Model, which is the intended type. This PR fixes that.