[PATCH] Allow using ANSI escape sequences on Windows

Chandler Carruth chandlerc at google.com
Mon Sep 2 11:26:18 PDT 2013


Why is this preferred to just passing -fcolor-diagnostics?


On Mon, Sep 2, 2013 at 9:45 AM, Nico Rieck <nico.rieck at gmail.com> wrote:

> On 28.08.2013 23:08, Nico Rieck wrote:
>
>> with ConEmu [1] or ANSICON [2] it is possible to use ANSI escape
>> sequences for colors on Windows. This way colored output can be provided
>> even when the normal console api cannot be used, e.g. when clang is used
>> with ninja.
>>
>> I don't know of any simple way to detect either of the mentioned hacks
>> so for now the environment variable "LLVM_FORCE_ANSI_COLORS" can be set
>> to force this behavior.
>>
>
> Ping
> ______________________________**_________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/**mailman/listinfo/llvm-commits<http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/60ca919e/attachment.html>


More information about the llvm-commits mailing list