Skip to content
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

Can you wrap lines so that they are fully displayed? #461

Closed
infokiller opened this issue Dec 29, 2015 · 4 comments · Fixed by #3887
Closed

Can you wrap lines so that they are fully displayed? #461

infokiller opened this issue Dec 29, 2015 · 4 comments · Fixed by #3887

Comments

@infokiller
Copy link
Contributor

My most common usecase for fzf is search through my history, which often contains very long commands. When the terminal window is too narrow for the full command line, it is trimmed. Is it possible to wrap instead? ideally, I'd be able to specify the maximum number of lines that are used for the wrapping. This way I can make sure that extremely long items don't take all the screen, but also that I can see more of every item.

Thanks!

@junegunn
Copy link
Owner

Hi, thanks for the suggestion. It's currently not possible and unfortunately, implementing it is not at all trivial. See the previous (related) discussion here: #154 (comment). I'm closing this not because this is a bad idea, but I can't see myself implementing it in a foreseeable future.

@infokiller
Copy link
Contributor Author

Thanks a lot for your quick response!

@gatoatigrado
Copy link

I'd use this too, if you or anyone else gets around to implementing it. But yeah, if it's complicated, maybe not worth the time currently.

@sucrecacao
Copy link

It there any update on that ? Will it stay a "won't fix" ?

I would like to have beautiful input like

echo " option1_title \n option1_text \00 option2_title \n  option2_text" | fzf --read0

junegunn added a commit that referenced this issue Jun 25, 2024
* `--wrap`
* `--wrap-sign`
* `toggle-wrap`

Close #3619
Close #2236
Close #577
Close #461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants