diff options
author | Determinant <[email protected]> | 2018-11-18 21:52:35 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-18 21:52:35 -0500 |
commit | 35ffa2c1e5c7fba06c52e2c20aff2aac910921d5 (patch) | |
tree | 7adcea80aac36059811df618901ca38e656e282c /src | |
parent | cff8386147356176228b8c56573005bca2b65d0a (diff) |
...
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index d764ad5..c51e191 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -91,7 +91,7 @@ const std::string get_current_datetime() { SalticidaeError::SalticidaeError() : msg("unknown") {} void Logger::set_color() { - if (isatty(output)) + if (is_tty()) { color_info = TTY_COLOR_GREEN; color_debug = TTY_COLOR_BLUE; |