diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-06-10 00:26:57 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-06-10 23:02:23 +0900 |
| commit | 3b68dcdd81394f1ac9f743e1f74ff754f95eef9e (patch) | |
| tree | e4856fba0fee27eb1ae98ca15844ec04bf60ff5a /src/core.go | |
| parent | 39db02616158020b180a56dc8f1bdcf9f8365945 (diff) | |
| download | fzf-3b68dcdd81394f1ac9f743e1f74ff754f95eef9e.tar.gz | |
Add footer
Options:
--footer=STR String to print as footer
--footer-border[=STYLE] Draw border around the footer section
[rounded|sharp|bold|block|thinblock|double|horizontal|vertical|
top|bottom|left|right|line|none] (default: line)
--footer-label=LABEL Label to print on the footer border
--footer-label-pos=COL Position of the footer label
[POSITIVE_INTEGER: columns from left|
NEGATIVE_INTEGER: columns from right][:bottom]
(default: 0 or center)
The default border type for footer is 'line', which draws a single
separator between the footer and the list. It changes its position
depending on `--layout`, so you don't have to manually switch between
'top' and 'bottom'
The 'line' style is now supported by other border types as well.
`--list-border` is the only exception.
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 dffc4f36..46cd957a 100644 --- a/src/core.go +++ b/src/core.go @@ -39,7 +39,7 @@ func (r revision) compatible(other revision) bool { // Run starts fzf func Run(opts *Options) (int, error) { if opts.Filter == nil { - if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 && opts.Tmux.index >= opts.Height.index { + if opts.useTmux() { return runTmux(os.Args, opts) } |
