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

feat!: Always print color when color is enabled #136

Merged
merged 4 commits into from Mar 15, 2023

Conversation

epage
Copy link
Contributor

@epage epage commented Mar 15, 2023

This is in anticipation of callers using anstyle_stream to print this
which will "Do The Right Thing"

BREAKING CHANGE:

  • color-auto is gone
  • Displays won't automatically print ANSI color code when
    appropriate but instead format!("{}", case) will never print color
    and format!("{:#}", case) will always print color

This is in anticipation of callers using `anstyle_stream` to print this
which will "Do The Right Thing"

BREAKING CHANGE:
- `color-auto` is gone
- `Display`s won't automatically print ANSI color code when
  appropriate but instead `format!("{}", case)` will never print color
  and `format!("{:#}", case)` will always print color
@epage epage force-pushed the anstream branch 2 times, most recently from 63bc051 to b37dbf7 Compare March 15, 2023 14:35
@epage epage merged commit a877a73 into assert-rs:master Mar 15, 2023
@epage epage deleted the anstream branch March 15, 2023 14:43
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

Successfully merging this pull request may close these issues.

None yet

1 participant