diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-06-05 22:02:22 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-06-10 23:02:23 +0900 |
| commit | 39db02616158020b180a56dc8f1bdcf9f8365945 (patch) | |
| tree | ef4c791512139894d51438915068b71e588a66b4 /plugin | |
| parent | f6c589c606a8936e33778a717d6200632f8cab21 (diff) | |
| download | fzf-39db02616158020b180a56dc8f1bdcf9f8365945.tar.gz | |
Fix inconsistent placement of header-lines with border options
fzf displayed --header-lines inconsistently depending on the presence of borders:
# --header and --header-lines co-located
seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first
# --header and --header-lines separated
seq 10 | fzf --header-lines 3 --header "$(seq 101 103)" --header-first --header-lines-border
This commit fixes the inconsistency with the following logic:
* If only one of --header or --header-lines is provided, --header-first
applies to that single header.
* If both are present, --header-first affects only the regular --header,
not --header-lines.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions
