mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-17 10:35:28 -07:00
chore: rename StartReturningModel to Run
Added aliases for the old functions, but deprecated them.
This commit is contained in:
@@ -30,7 +30,7 @@ func main() {
|
||||
progress: progress.New(progress.WithDefaultGradient()),
|
||||
}
|
||||
|
||||
if err := tea.NewProgram(m).Start(); err != nil {
|
||||
if _, err := tea.NewProgram(m).Run(); err != nil {
|
||||
fmt.Println("Oh no!", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user