Made XtermColor publicly visible

This commit is contained in:
Jack Andersen 2015-10-07 13:18:37 -10:00
parent 8b9dd56955
commit 189e047977
2 changed files with 4 additions and 1 deletions

View File

@ -16,6 +16,9 @@ namespace LogVisor
#define LOG_UCS2 1
#endif
/* True if ANSI color available */
extern bool XtermColor;
/**
* @brief Severity level for log messages
*/

View File

@ -92,7 +92,7 @@ static HANDLE Term = 0;
#else
static const char* Term = nullptr;
#endif
static bool XtermColor = false;
bool XtermColor = false;
struct ConsoleLogger : public ILogger
{
std::mutex m;