MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / enableVT100TerminalMode

Function enableVT100TerminalMode

src/Platform/src/Platform.Posix.cpp:153–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 bool enableVT100TerminalMode()
154 {
155 if (!isStdOutRedirected())
156 {
157 return false;
158 }
159
160 if (!hasTerminalVT100Support())
161 {
162 return false;
163 }
164
165 return true;
166 }
167
168 std::vector<std::string> getCmdLineVector(int argc, const char** argv)
169 {

Callers 1

LogTerminalMethod · 0.50

Calls 2

isStdOutRedirectedFunction · 0.70
hasTerminalVT100SupportFunction · 0.70

Tested by

no test coverage detected