[PATCH] Allow using ANSI escape sequences on Windows
Nico Rieck
nico.rieck at gmail.com
Wed Aug 28 14:08:54 PDT 2013
Hi,
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.
-Nico
[1] http://code.google.com/p/conemu-maximus5/
[2] https://github.com/adoxa/ansicon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win-ansi-colors.patch
Type: text/x-patch
Size: 2612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130828/ceb07fe4/attachment.bin>
More information about the llvm-commits
mailing list