-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Keep ANSI colors in the input #977
Comments
Don't use |
Thanks! It was my mistake, actually. I had |
@junegunn Sorry, I'm still confused. Actually, I wanted both: keep colors from the input AND add colored matches found by fzf in the output (this is what grep does). But I can't figure out how to see matches' colors in filtering mode neither with nor without |
No fzf doesn't do it, and I currently have no plan to add support for that. I don't think having |
Having said that, there should be some room for improvement. |
From my POV it looks like a useful thing to have. If it's not too complicated to implement, maybe you could add it to your plans? |
Great news! I've been missing these graphs of yours since your last refactoring :) (I only hope that Y axis starts at zero, otherwise the difference could be anywhere from amazing to negligible). By the way, it looks like you have some helper code and environment to benchmark the performance and visualize the results. I think it could be helpful to include them somewhere either in the code or wiki so that contributors could have established tools to verify the performance has not degraded after their updates. It's not that there are so many contributors who need that, but still... |
Y axis starts at zero. You will definitely notice the difference when this is merged. But even with such significant improvement, fzf with I do have a script, but I don't think it's ready for open yet. The performance varies greatly depending on the options used, the content of the input file, selectivity of the query, etc. I'll have to make the test cases thorough and as complete as possible. |
PR: #2693 |
I've tried to use fzf in filter mode as a version of grep in a chain of ag (the silver searcher) and grep commands. Is it possible to keep ANSI codes coming in the input as grep does?
The text was updated successfully, but these errors were encountered: