diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-01 19:50:17 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-01 22:11:15 +0900 |
| commit | e2f93e5a2dc30f2785916e0b2e7a2ab974d1ff0a (patch) | |
| tree | 0e1d081b25e5e81948abdfc5b2e39b9f67fe2a49 /src/core.go | |
| parent | cfdf2f11537f8e4207b146250a14a4d1aa32b5f5 (diff) | |
| download | fzf-e2f93e5a2dc30f2785916e0b2e7a2ab974d1ff0a.tar.gz | |
--tmux vs. --height: Last one wins
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 ec25d1d0..0c7abff1 100644 --- a/src/core.go +++ b/src/core.go @@ -20,7 +20,7 @@ Matcher -> EvtHeader -> Terminal (update header) // Run starts fzf func Run(opts *Options) (int, error) { - if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 { + if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 && opts.Tmux.index >= opts.Height.index { return runTmux(os.Args, opts) } |
