| 148 | } g_EngineCtx; |
| 149 | |
| 150 | static bool IsInteractiveStdout() |
| 151 | { |
| 152 | #if defined(_WIN32) |
| 153 | return _isatty(_fileno(stdout)) != 0; |
| 154 | #else |
| 155 | return isatty(fileno(stdout)) != 0; |
| 156 | #endif |
| 157 | } |
| 158 | |
| 159 | #if defined(_WIN32) |
| 160 | static bool EnableVirtualTerminalProcessing() |