Skip to content

Commit

Permalink
refactor(main.go): replace deprecated 'Start()' with 'Run()'
Browse files Browse the repository at this point in the history
  • Loading branch information
usrme committed Mar 24, 2023
1 parent 44f7dc4 commit 082b0db
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 @@ -32,7 +32,7 @@ func main() {
}

m := newModel(prefixes, config)
if err := tea.NewProgram(m).Start(); err != nil {
if _, err := tea.NewProgram(m).Run(); err != nil {
fail("Error: %s", err)
}

Expand Down

0 comments on commit 082b0db

Please sign in to comment.