feat!: use new bubbletea input api

This commit is contained in:
Ayman Bagabas
2024-07-22 14:57:15 -04:00
parent a9344b5953
commit e6e18e5012
14 changed files with 61 additions and 37 deletions
+2 -2
View File
@@ -205,8 +205,8 @@ func New(opts ...Option) Model {
var NewModel = New
// Init exists to satisfy the tea.Model interface.
func (m Model) Init() tea.Cmd {
return nil
func (m Model) Init() (tea.Model, tea.Cmd) {
return m, nil
}
// Update is used to animate the progress bar during transitions. Use