m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Add --header-lines-border to separate two headers

Examples:
  # Border only around the header from --header-lines
  seq 10 | fzf --header 'hello' --header-lines 2 --header-lines-border

  # Both headers with borders
  seq 10 | fzf --header 'hello' --header-lines 2 --header-border --header-lines-border

  # Use 'none' to still separate two headers but without a border
  seq 10 | fzf --header 'hello' --header-lines 2 --header-border --header-lines-border none --list-border
This commit is contained in:
Junegunn Choi
2025-01-23 01:39:57 +09:00
parent 578108280e
commit 06547d0cbe
5 changed files with 387 additions and 52 deletions

View File

@@ -929,6 +929,12 @@ Label to print on the header border
.BI "\-\-header\-label\-pos" [=N[:top|bottom]]
Position of the header label
.TP
.BI "\-\-header\-lines\-border" [=STYLE]
Display header from \fB--header-lines\fR with a separate border. Pass
\fBnone\fR to still separate the header lines but without a border. To combine
two headers, use \fB\-\-no\-header\-lines\-border\fR.
.SS SCRIPTING
.TP
.BI "\-q, \-\-query=" "STR"