Skip to content

Smarter warning in extra::term::Terminal.reset() - #7478

Closed
lilyball wants to merge 1 commit into
rust-lang:masterfrom
lilyball:term-dumb-no-warn
Closed

Smarter warning in extra::term::Terminal.reset()#7478
lilyball wants to merge 1 commit into
rust-lang:masterfrom
lilyball:term-dumb-no-warn

Conversation

@lilyball

Copy link
Copy Markdown
Contributor

Don't spew a warn!() in reset() if num_colors is 0, because
non-color-supporting terminals are legit. Use debug!() there instead.
Continue spewing warn!() if we believe the terminal to support colors.

Use a better warning when the op capability can't be found.

r? @cmr

Don't spew a warn!() in reset() if num_colors is 0, because
non-color-supporting terminals are legit. Use debug!() there instead.
Continue spewing warn!() if we believe the terminal to support colors.
Use a better warning when the `op` capability can't be found.
@thestinger

Copy link
Copy Markdown
Contributor

Landing with #7479.

flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 12, 2021
Fix nonstandard_macro_braces FP and docs of disallowed_types
changelog: Fix FP in [`nonstandard_macro_braces`] lint
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
7478: Simplify heavy tests r=edwin0cheng a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Sign up for freeto 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.

2 participants

@lilyball@thestinger