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

Function menu_keyhelp_select_keys

crawl-ref/source/menu.cc:1348–1353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1346}
1347
1348string menu_keyhelp_select_keys()
1349{
1350 const string up = command_to_string(CMD_MENU_UP);
1351 const string down = command_to_string(CMD_MENU_DOWN);
1352 return make_stringf("[<w>%s</w>|<w>%s</w>]", up.c_str(), down.c_str());
1353}
1354
1355static string _command_to_string(command_type cmd)
1356{

Callers 2

get_keyhelpMethod · 0.85
get_keyhelpMethod · 0.85

Calls 2

command_to_stringFunction · 0.85
make_stringfFunction · 0.85

Tested by

no test coverage detected