MCPcopy Index your code
hub / github.com/NetHack/NetHack / accept_menu_prefix

Function accept_menu_prefix

src/cmd.c:3508–3512  ·  view source on GitHub ↗

commands which accept 'm' prefix to request menu operation or other alternate behavior; it's also overloaded for move-without-autopickup; there is no overlap between the two groups of commands */

Source from the content-addressed store, hash-verified

3506 alternate behavior; it's also overloaded for move-without-autopickup;
3507 there is no overlap between the two groups of commands */
3508staticfn boolean
3509accept_menu_prefix(const struct ext_func_tab *ec)
3510{
3511 return (ec && ((ec->flags & CMD_M_PREFIX) != 0));
3512}
3513
3514/* choose a random character, biased towards movement commands, primarily
3515 for debug-fuzzer testing */

Callers 2

doextcmdFunction · 0.85
doc_extcmd_flagstrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected