Skip to content

Commit

Permalink
Made XtermColor publicly visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jackoalan committed Oct 7, 2015
1 parent 8b9dd56 commit 189e047
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions include/LogVisor/LogVisor.hpp
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/LogVisor.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 189e047

Please sign in to comment.