Rust 1.70 introduced the IsTerminal trait and with it is_terminal() method.
Can it be used in anstream in place of is-terminal (as anstream depends on std already), or is that a no-go due to IsTerminal being sealed? (This would bump the MSRV of course, which is another potential concern.)
Rust 1.70 introduced the IsTerminal trait and with it
is_terminal()
method.Can it be used in
anstream
in place ofis-terminal
(asanstream
depends onstd
already), or is that a no-go due toIsTerminal
being sealed? (This would bump the MSRV of course, which is another potential concern.)