Skip to content

Commit

Permalink
fix: viewport update
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 9, 2025
1 parent 611ec09 commit 141440d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pager/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func (o Options) Run() error {
}

vp.SoftWrap = o.SoftWrap
vp.FillHeight = o.ShowLineNumbers
vp.SetContent(o.Content)
vp.HighlightStyle = o.MatchStyle.ToLipgloss()
vp.SelectedHighlightStyle = o.MatchHighlightStyle.ToLipgloss()
Expand Down

0 comments on commit 141440d

Please sign in to comment.