Skip to content

Commit

Permalink
Update deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Nov 13, 2022
1 parent f1ace81 commit 4fde997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/show/viewport.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func start(content string) error {
tea.WithMouseCellMotion(),
)

if err := p.Start(); err != nil {
if _, err := p.Run(); err != nil {
return err
}

Expand Down

0 comments on commit 4fde997

Please sign in to comment.