facebook / facebook/flow

ANSI color codes fail in Windows MSYS Bash in cmd.exe

Open
#4,568 3 comments 2 reactions 0 assignees View on GitHub
Windows support
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

When using the `cmd.exe` host option in MSYS, flow-bin 0.52.0 on Node v8.3.0 attempts to use ANSI color codes, but fails:

![0oel6gy](https://user-images.githubusercontent.com/654598/29157288-159885f6-7d5b-11e7-9941-3534efecd9e5.png)

Using the default terminal in `cmd.exe` results in uncolored text, which is correct enough I guess.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.