MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / useColourOnPlatform

Function useColourOnPlatform

Bcore/src/main/cpp/Dobby/tests/catch.hpp:6762–6773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6760};
6761
6762bool useColourOnPlatform() {
6763 return
6764#ifdef CATCH_PLATFORM_MAC
6765 !isDebuggerActive() &&
6766#endif
6767#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
6768 isatty(STDOUT_FILENO)
6769#else
6770 false
6771#endif
6772 ;
6773}
6774IColourImpl *platformColourInstance() {
6775 ErrnoGuard guard;
6776 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected