Skip to content

fix(cli): fix incorrect color state after ColorableTerminal::reset #3711

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

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

rami3l
Copy link
Member

@rami3l rami3l commented Mar 13, 2024

Fixes #3705.

This seems like a regression introduced in #3351. See #3705 (comment) for more details.

@rami3l rami3l requested a review from djc March 13, 2024 03:05
Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@djc djc added this pull request to the merge queue Mar 13, 2024
Merged via the queue into master with commit f6dbe2e Mar 13, 2024
@djc djc deleted the fix/color-reset branch March 13, 2024 08:30
@djc
Copy link
Contributor

djc commented Mar 13, 2024

(Sorry, probably should have waited to merge for feedback in #3705?)

@rami3l
Copy link
Member Author

rami3l commented Mar 13, 2024

(Sorry, probably should have waited to merge for feedback in #3705?)

@djc Technically yes, but no worries! As long as we get a positive feedback before the next release, everything should be fine.

@rami3l
Copy link
Member Author

rami3l commented Mar 20, 2024

@djc Just tried it out myself and the fix seems to be working.

image

PS: I'm using a dogfood version of Rustup, of course:

> rustup --version
rustup 1.27.0+19 (a05f8a5bb 2024-03-19) dirty 1 modification

@rami3l rami3l mentioned this pull request Apr 14, 2024
3 tasks
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.

rustup update output is funny
2 participants