From d7b61ede07ab20ba106191968f12aaf600b6ede4 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 21 Dec 2023 18:41:01 +0900 Subject: Add support for negative --height fzf --height=-1 Close #3487 --- src/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.go') diff --git a/src/core.go b/src/core.go index e21e8c0a..ed56a879 100644 --- a/src/core.go +++ b/src/core.go @@ -200,7 +200,7 @@ func Run(opts *Options, version string, revision string) { padHeight := 0 heightUnknown := opts.Height.auto if heightUnknown { - maxFit, padHeight = terminal.MaxFitAndPad(opts) + maxFit, padHeight = terminal.MaxFitAndPad() } deferred := opts.Select1 || opts.Exit0 go terminal.Loop() -- cgit v1.2.3