We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7579b7 commit f5e2a9eCopy full SHA for f5e2a9e
src/utils/tty.rs
@@ -28,11 +28,6 @@ fn isatty(fd: libc::c_int) -> bool {
28
#[inline]
29
#[cfg(windows)]
30
fn isatty(fd: winapi::shared::minwindef::DWORD) -> bool {
31
- if std::env::var("MSYSTEM").is_ok() {
32
- // FIXME: No color is better than broken color codes in MSYS shells
33
- // https://github.com/rust-lang/rustup/issues/2292
34
- return false;
35
- }
36
use winapi::um::{consoleapi::GetConsoleMode, processenv::GetStdHandle};
37
unsafe {
38
let handle = GetStdHandle(fd);
0 commit comments