Closed tmpm697 closed 5 days ago
man fzf
fzf --version
0.53
Say I have a list candidates of mixed one line and multi lines (multi lines ended with NUL char),
declare -f | perl -0 -pe 's/^}\n/}\n\0/gm' | bat --plain --language bash --color always | fzf --read0 --ansi --layout reverse --multi --highlight-line
Output of declare -f is a mixed of one line and multi lines candidates.
declare -f
How to check focus line while running fzf, to see if it's multi lines or not, if yes then select it?
https://github.com/junegunn/fzf/issues/3901
Checklist
man fzf
)Output of
fzf --version
0.53
OS
Shell
Problem / Steps to reproduce
Say I have a list candidates of mixed one line and multi lines (multi lines ended with NUL char),
Output of
declare -f
is a mixed of one line and multi lines candidates.How to check focus line while running fzf, to see if it's multi lines or not, if yes then select it?