-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiline item's separator doesn't use '\n' #953
Comments
fzf does not officially support multi-line entries, and with the premise, a new line character is not a valid character fzf can properly display on screen, and fzf prints it as fzf displays those characters as > echo -en "foo\nbar" | fzf --read0 --select-1 | wc -l
2 Notice that we have no issues with multi-line commands in bash and zsh, as
Maybe fish can do something similar? |
ah, fish's read command also needs a |
Fix found by @amosbird at #953 (comment) closes #440
I'm trying to get multiline history completion work by
history -z | fzf --read0
. However it generates items that are not separated by\n
but\?
which breaks command line substitution.The text was updated successfully, but these errors were encountered: