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

Function curses_menu_exists

win/curses/cursdial.c:841–849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839
840
841boolean
842curses_menu_exists(winid wid)
843{
844 if (get_menu(wid) != NULL) {
845 return TRUE;
846 } else {
847 return FALSE;
848 }
849}
850
851/* Delete the menu associated with the given NetHack winid from memory */
852

Callers 1

curses_putsFunction · 0.85

Calls 1

get_menuFunction · 0.85

Tested by

no test coverage detected