Closed
Description
Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!
- A brief description
Color rendering issues #76 and support 256 color #345 added support for ANSI colors. This works in version 10.0.10586 but got broken in version 10.0.14393.
symfony/symfony#19520 confirms that other people are seeing the same problem.
- Expected results
ANSI colors should render in cmd.exe when applications output to stdout/stderr. - Actual results (with terminal output if applicable)
Raw ANSI codes are seen. No colors are rendered. - Your Windows build number
10.0.14393 - Steps / All commands required to reproduce the error from a brand new installation
- Run this Java testcase:
public class Test {
public static void main(String[] args) {
System.out.println("\033[37;1mwhite\033[0m");
}
}
- You will get this output:
�[37;1mwhite�[0m
- Redirect the application stdout to
foo.log
and runtype foo.log
- Notice that the output now reads
white
using white text
This is reproducible 100% of the time.