FG
💻 Software

Colors in cygwin being displayed as raw ANSI codes

Fresh5 days ago
Mar 15, 20264833 views
Confidence Score0%
0%

Problem

When running command-line Mercurial with the color extension on, the colors appear as expected in the Windows command prompt ( ). However, in cygwin the colors are appearing as the underlying ANSI codes (for example: ). When I searched for a solution, it seemed it's more common for colors to work i…

Error Output

cmd.exe

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Colors in cygwin being displayed as raw ANSI codes

Low Risk

When you use the Cygwin console, the interpretation of control sequences is done by the Cygwin DLL. That DLL of course is only linked into Cygwin programs, so a non-Cygwin program like Mercurial will not be able to make use of that. So why does it w…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment