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

Force color option #10

Open
runarberg opened this issue Oct 11, 2017 · 1 comment
Open

Force color option #10

runarberg opened this issue Oct 11, 2017 · 1 comment

Comments

@runarberg
Copy link

It is really impossible to see the actual..expected diff when the color mode is turned off (for example when piping output to less). It would be nice if we could force the formatter to output colors when otherwise it would be turned off, for example with an --color option.

--no-color

--color

@runarberg
Copy link
Author

Optimally the diff should never be inline without the color coding, i.e. it should fall back to the normal:

+ actual
- expected

+ "Hello world"
- "ALL YOUR BASE ARE BELONG TO US!!!"

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

1 participant