Skip to content

Commit

Permalink
add isatty alias for is_terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
cod10129 authored and gitbot committed Feb 20, 2025
1 parent 85106bd commit 370442e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/src/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@ pub trait IsTerminal: crate::sealed::Sealed {
///
/// [changes]: io#platform-specific-behavior
/// [`Stdin`]: crate::io::Stdin
#[doc(alias = "isatty")]
#[stable(feature = "is_terminal", since = "1.70.0")]
fn is_terminal(&self) -> bool;
}
Expand Down

0 comments on commit 370442e

Please sign in to comment.