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

Add --no-input to hide the input section (#4210)

Close #2890
Close #1396
 
You can't type in queries in this mode, and the only way to trigger an
fzf search is to use `search(...)` action.

  # Click header to trigger search
  fzf --header '[src] [test]' --no-input --layout reverse \
      --header-border bottom --input-border \
      --bind 'click-header:transform-search:echo ${FZF_CLICK_HEADER_WORD:1:-1}'
This commit is contained in:
Junegunn Choi
2025-01-30 00:50:46 +09:00
committed by GitHub
parent 6b5d461411
commit 6c0ca4a64a
9 changed files with 126 additions and 23 deletions

View File

@@ -620,6 +620,11 @@ Position of the list label
.SS INPUT SECTION
.TP
.B "\-\-no\-input"
Disable and hide the input section. You can no longer type in queries. To
trigger a search, use \fBsearch\fR action.
.TP
.BI "\-\-prompt=" "STR"
Input prompt (default: '> ')