MCPcopy Create free account
hub / github.com/DFHack/dfhack / listHeaderSetting

Function listHeaderSetting

plugins/debug.cpp:1003–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001static const int wsetting = 12;
1002
1003static void listHeaderSetting(color_ostream& out, color_ostream::color_value c,
1004 const char *name, bool val) {
1005 out.color(c);
1006 out << std::setw(welement) << name
1007 << std::setw(wsetting) << (val ? "Enabled" : "Disabled") << '\n';
1008}
1009
1010static command_result configureHeader(color_ostream& out,
1011 std::vector<std::string>& parameters)

Callers 1

configureHeaderFunction · 0.85

Calls 1

colorMethod · 0.45

Tested by

no test coverage detected