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

Function internal_setSuppressDuplicateKeyboardEvents

library/LuaApi.cpp:4319–4323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4317}
4318
4319static int internal_setSuppressDuplicateKeyboardEvents(lua_State *L) {
4320 bool suppress = lua_toboolean(L, 1);
4321 Core::getInstance().setSuppressDuplicateKeyboardEvents(suppress);
4322 return 0;
4323}
4324
4325static int internal_setMortalMode(lua_State *L) {
4326 bool value = lua_toboolean(L, 1);

Callers

nothing calls this directly

Calls 2

lua_tobooleanFunction · 0.85

Tested by

no test coverage detected