Browse Source

Fix debug console output to be readable on macOS dark theme

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
73442e4cf0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/utils/CarlaUtils.hpp

+ 4
- 0
source/utils/CarlaUtils.hpp View File

@@ -116,7 +116,11 @@ void carla_debug(const char* const fmt, ...) noexcept

if (output == stdout)
{
#ifdef CARLA_OS_MAC
std::fprintf(output, "\x1b[37;1m");
#else
std::fprintf(output, "\x1b[30;1m");
#endif
std::vfprintf(output, fmt, args);
std::fprintf(output, "\x1b[0m\n");
}


Loading…
Cancel
Save