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

Function get_string_key

plugins/uicommon.h:179–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static inline df::interface_key get_string_key(const std::set<df::interface_key> *input)
180{
181 for (auto it = input->begin(); it != input->end(); ++it)
182 {
183 if (DFHack::Screen::keyToChar(*it) >= 0)
184 return *it;
185 }
186 return df::interface_key::NONE;
187}
188
189static inline char get_string_input(const std::set<df::interface_key> *input)
190{

Callers 2

get_string_inputFunction · 0.85
feedMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected