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

Function clear_match

plugins/embark-assistant/embark-assistant.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 //===============================================================================
103
104 void clear_match() {
105// color_ostream_proxy out(Core::getInstance().getConsole());
106 if (state->match_iterator.active) {
107 embark_assist::matcher::move_cursor(state->match_iterator.x, state->match_iterator.y);
108 }
109 embark_assist::survey::clear_results(&state->match_results);
110 embark_assist::overlay::clear_match_results();
111 embark_assist::main::state->match_iterator.active = false;
112 }
113
114 //===============================================================================
115

Callers

nothing calls this directly

Calls 1

move_cursorFunction · 0.85

Tested by

no test coverage detected