From 141440dffb24c29c0c53dbf4f63341c16c5591db Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 8 Jan 2025 23:41:54 -0300 Subject: [PATCH] fix: viewport update --- pager/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pager/command.go b/pager/command.go index f6eb3f182..dfbcd5ede 100644 --- a/pager/command.go +++ b/pager/command.go @@ -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()