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

Method shutdown

library/Console-posix.cpp:885–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885bool Console::shutdown(void)
886{
887 if(!d)
888 return true;
889 d->reset_color();
890 std::lock_guard<std::recursive_mutex> lock{*wlock};
891 close(d->exit_pipe[1]);
892 if (d->state != Private::con_lineedit)
893 inited = false;
894 return true;
895}
896
897void Console::begin_batch()
898{

Callers 2

ShutdownMethod · 0.45
mainFunction · 0.45

Calls 1

reset_colorMethod · 0.45

Tested by

no test coverage detected