jhawthorn / fzy

:mag: A simple, fast fuzzy finder for the terminal
MIT License
2.98k stars 126 forks source link

Zero-terminated lines #68

Open notramo opened 6 years ago

notramo commented 6 years ago

fzf --read0 --print0

HaleTom commented 6 years ago

Yes please! Would be great for find -print0

jhawthorn commented 6 years ago

I'd definitely consider adding this. What behaviour you expect in this mode if one of the choices has a newline?

HaleTom commented 6 years ago

How is a non-printable like backspace currently displayed?

jhawthorn commented 6 years ago

They're ignored, but I'm not sure that's the best behaviour either

norcalli commented 5 years ago

FZF displays newlines as a single space, which IMO is the only feasible way to do this. I'm working on a PR.