diff --git a/filter/command.go b/filter/command.go index 7e6dd3b..d9a16e6 100644 --- a/filter/command.go +++ b/filter/command.go @@ -47,6 +47,10 @@ func (o Options) Run() error { height: o.Height, }, tea.WithOutput(os.Stderr)) + if o.Height == 0 { + p.EnterAltScreen() + } + tm, err := p.StartReturningModel() m := tm.(model)