Enhancement

- Allow a separate color for error messages via the 'color.error'
  configuration variable.
This commit is contained in:
Louis-Claude Canon 2012-06-26 09:30:39 +02:00 committed by Paul Beckingham
parent eaae2d84da
commit e1407437e0
21 changed files with 97 additions and 1 deletions

View file

@ -345,7 +345,7 @@ int Context::run ()
std::vector <std::string>::iterator e;
for (e = errors.begin (); e != errors.end (); ++e)
if (color ())
std::cerr << colorizeFootnote (*e) << "\n";
std::cerr << colorizeError (*e) << "\n";
else
std::cerr << *e << "\n";