Function grep_cli::is_tty_stderr
source ยท pub fn is_tty_stderr() -> bool
๐Deprecated since 0.1.10: use std::io::IsTerminal instead
Expand description
Returns true if and only if stderr 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.