Skip to content

Conversation

@davlgd
Copy link
Contributor

@davlgd davlgd commented Nov 17, 2025

This PR removes deprecated atty by isTerminal as recommended:

This is crate is no longer maintained and users are encouraged to prefer the equivalant functionality of std.io.IsTerminal, introduced in Rust 1.70.0

  • Added IsTerminal to the std::io import
  • atty::is(Stream::Stdin) → io::stdin().is_terminal()
  • atty::isnt(Stream::Stdin) → !io::stdin().is_terminal()
  • atty::is(Stream::Stderr) → io::stderr().is_terminal()

@divarvel divarvel merged commit b632496 into eclipse-biscuit:main Dec 16, 2025
2 checks passed
@divarvel
Copy link
Contributor

thanks!

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.

2 participants