Function grep_cli::is_tty_stdin

source ยท
pub fn is_tty_stdin() -> bool
๐Ÿ‘ŽDeprecated since 0.1.10: use std::io::IsTerminal instead
Expand description

Returns true if and only if stdin is believed to be connected to a tty or a console.

Note that this is now just a wrapper around std::io::IsTerminal. Callers should prefer using the IsTerminal trait directly. This routine is deprecated and will be removed in the next semver incompatible release.