MCPcopy Create free account
hub / github.com/defold/defold / IsInteractiveStdout

Function IsInteractiveStdout

engine/hid/src/test/test_app_hid.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148} g_EngineCtx;
149
150static 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)
160static bool EnableVirtualTerminalProcessing()

Callers 1

EngineCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected