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

Flag to turn off / customize colors #6

Open
pfirsich opened this issue Apr 30, 2022 · 3 comments
Open

Flag to turn off / customize colors #6

pfirsich opened this issue Apr 30, 2022 · 3 comments

Comments

@pfirsich
Copy link

Unfortunately the color fccf uses to print filenames is the same as my terminal background color, making the lines invisible. It would be nice, if there was a switch to turn off the colored output (like when stdout is not a tty), so you can add it in an alias.

Ultimately it would be great, if it was possible to customize the colors. I do realize that might be quite a task (as you need a way to get the colors into the program), but considering fccf does colors code quite extensively I think it does make sense that eventually such a feature would exist.

p-ranav added a commit that referenced this issue Apr 30, 2022
@p-ranav
Copy link
Owner

p-ranav commented Apr 30, 2022

I've added a --no-color option to turn off coloring.

You can also pipe to another program (like bat) to color the output.

@p-ranav
Copy link
Owner

p-ranav commented Apr 30, 2022

Yes, I'll add in flags to support configurating the color for each element in the output; makes sense.

@pfirsich
Copy link
Author

pfirsich commented May 1, 2022

Thanks! Also for the great tip to re-color with bat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants