diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-21 18:41:01 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-21 18:42:23 +0900 |
commit | d7b61ede07ab20ba106191968f12aaf600b6ede4 (patch) | |
tree | f86613d7e0ef3ec06aa44890d81bd5ab991e6b67 /src/core.go | |
parent | 87fc1c84b8700e694ec341b36ac3ce29a7a30e6b (diff) |
Add support for negative --height
fzf --height=-1
Close #3487
Diffstat (limited to 'src/core.go')
-rw-r--r-- | src/core.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |