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

Fully honor no color option when running specs #4306

Merged
merged 1 commit into from Apr 18, 2017
Merged

Fully honor no color option when running specs #4306

merged 1 commit into from Apr 18, 2017

Conversation

luislavena
Copy link
Contributor

Spec runner have the option to disable colored output (ANSI codes) when --no-color option is used, example:

$ crystal spec -- --no-color

However, certain elements in the output didn't fully support that option, resulting in a mix of non-color and color:

screenshot from 2017-04-17 16-45-31

This change unifies that setting and ensures that --no-color usage is fully honored by the output:

screenshot from 2017-04-17 16-46-18

Ref #4292

Thank you. ❤️ ❤️ ❤️

Spec runner have the option to disable colored output (ANSI codes) when
`--no-color` option is used, example:

    $ crystal spec -- --no-color

However, certain elements in the output didn't fully support that option,
resulting in a mix of non-color and color.

This change unifies that setting and ensures that `--no-color` usage
is fully honored by the output.

Ref #4292
@bcardiff bcardiff added this to the Next milestone Apr 17, 2017
@asterite
Copy link
Member

Awesome! Thank you! ❤️

@asterite asterite merged commit f92bd1f into crystal-lang:master Apr 18, 2017
@luislavena luislavena deleted the fully-colorless-spec branch April 24, 2017 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants