[PATCH] Allow using ANSI escape sequences on Windows

Reid Kleckner rnk at google.com
Mon Sep 9 15:56:15 PDT 2013


+  /// Enables or disables whether ANSI escape sequences are used to output
+  /// colors. This only has an effect on Windows.

Maybe mention that this isn't thread safe.

+  static void UseANSIEscapeCodes(bool enable);



On Mon, Sep 9, 2013 at 3:55 PM, Reid Kleckner <rnk at google.com> wrote:

> So, as much as global variables bother me, I bothered a bunch of people
> and after a long discussion about how horrible everything is, none of us
> could come up with a better solution without creating a colored stream API.
>
> LGTM  =D
>
> Thanks for doing this!  I use mintty and this should DTRT for me.
>
>
> On Tue, Sep 3, 2013 at 11:51 AM, Nico Rieck <nico.rieck at gmail.com> wrote:
>
>> I've eliminated the environment variable and added a new option
>> "-fansi-escape-codes" to Clang.
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> 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/20130909/ac7f1530/attachment.html>


More information about the llvm-commits mailing list