mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement
- Allow a separate color for error messages via the 'color.error' configuration variable.
This commit is contained in:
parent
eaae2d84da
commit
e1407437e0
21 changed files with 97 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue