MCPcopy Create free account
hub / github.com/crawl/crawl / c_input_reset

Function c_input_reset

crawl-ref/source/cio.cc:1164–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1162}
1163
1164void c_input_reset(bool enable_mouse, bool flush)
1165{
1166 crawl_state.mouse_enabled = (enable_mouse && Options.mouse_input);
1167 set_mouse_enabled(crawl_state.mouse_enabled);
1168
1169 if (flush)
1170 _flush_mouse_events();
1171}

Callers 2

_inputFunction · 0.85
_do_cmd_repeatFunction · 0.85

Calls 2

_flush_mouse_eventsFunction · 0.85
set_mouse_enabledFunction · 0.70

Tested by

no test coverage detected