MCPcopy Create free account
hub / github.com/NetHack/NetHack / doherecmdmenu

Function doherecmdmenu

src/cmd.c:4333–4339  ·  view source on GitHub ↗

#herecmdmenu command */

Source from the content-addressed store, hash-verified

4331
4332/* #herecmdmenu command */
4333staticfn int
4334doherecmdmenu(void)
4335{
4336 char ch = here_cmd_menu();
4337
4338 return (ch && ch != '\033') ? ECMD_TIME : ECMD_OK;
4339}
4340
4341/* #therecmdmenu command, a way to test there_cmd_menu without mouse */
4342staticfn int

Callers

nothing calls this directly

Calls 1

here_cmd_menuFunction · 0.85

Tested by

no test coverage detected