martine/ninja — pull request #198 by nico (2012-01-19 00:11:05+00:00)
Title: Strip ansi escape sequences from subcommand output when not writing to a...

... smart terminal.

I feel that ninja should have an option to disable this (say for use with something like http://www.hanshq.net/ansi2tex.html), but that's for a follow-up.