Enhancement
- Allow a separate color for error messages via the 'color.error' configuration variable.
This commit is contained in:
committed by
Paul Beckingham
parent
eaae2d84da
commit
e1407437e0
@@ -356,6 +356,15 @@ std::string colorizeFootnote (const std::string& input)
|
||||
return input;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string colorizeError (const std::string& input)
|
||||
{
|
||||
if (gsColor["color.error"].nontrivial ())
|
||||
return gsColor["color.error"].colorize (input);
|
||||
|
||||
return input;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string colorizeDebug (const std::string& input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user