Skip to content

Commit

Permalink
fix: use program.Run instead of program.Start
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Oct 18, 2022
1 parent 00d19e0 commit 5dcb980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
}

p := tea.NewProgram(presentation, tea.WithAltScreen())
err = p.Start()
_, err = p.Run()
return err
},
}
Expand Down

0 comments on commit 5dcb980

Please sign in to comment.