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

Method add_text

library/Console-posix.cpp:922–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922void Console::add_text(color_value color, const std::string &text)
923{
924 std::lock_guard<std::recursive_mutex> lock{*wlock};
925 if (inited)
926 d->print_text(color, text);
927 else
928 fwrite(text.data(), 1, text.size(), stderr);
929}
930
931int Console::get_columns(void)
932{

Callers

nothing calls this directly

Calls 3

print_textMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected