Skip to content

Commit

Permalink
fix: use run to start tui
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed May 24, 2024
1 parent 199f581 commit 7880f37
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 @@ -68,7 +68,7 @@ func root(cmd *coral.Command, args []string) {
flipperui.WithBgColor(rootFlags.bgColor),
),
}
if err := tea.NewProgram(m, tea.WithMouseCellMotion()).Start(); err != nil {
if _, err := tea.NewProgram(m, tea.WithMouseCellMotion()).Run(); err != nil {
log.Fatalln(err)
}
}
Expand Down

0 comments on commit 7880f37

Please sign in to comment.