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

Typo in example code #86

Open
OleMussmann opened this issue Dec 29, 2024 · 0 comments · May be fixed by #87
Open

Typo in example code #86

OleMussmann opened this issue Dec 29, 2024 · 0 comments · May be fixed by #87

Comments

@OleMussmann
Copy link

The example code in https://docs.rs/termcolor/latest/termcolor/#detecting-presence-of-a-terminal does not work due to a typo.

!std::io::stdin().is_terminal() should be !std::io::stdout().is_terminal()

@OleMussmann OleMussmann linked a pull request Dec 29, 2024 that will close this issue
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 a pull request may close this issue.

1 participant