1 #![feature(is_terminal)]
3 use std::io::IsTerminal;
6 // We can't really assume that this is truly a terminal, and anyway on Windows Miri will always
7 // return `false` here, but we can check that the call succeeds.
8 std::io::stdout().is_terminal();