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

Function curses_start_menu

win/curses/cursmain.c:652–659  ·  view source on GitHub ↗

Start using window as a menu. You must call start_menu() before add_menu(). After calling start_menu() you may not putstr() to the window. Only windows of type NHW_MENU may be used for menus. */

Source from the content-addressed store, hash-verified

650 be used for menus.
651*/
652void
653curses_start_menu(winid wid, unsigned long mbehavior)
654{
655 if (inv_update)
656 return;
657
658 curses_create_nhmenu(wid, mbehavior);
659}
660
661/*
662add_menu(winid wid, const glyph_info *glyphinfo,

Callers 2

curses_character_dialogFunction · 0.85
curses_create_nhwindowFunction · 0.85

Calls 1

curses_create_nhmenuFunction · 0.85

Tested by

no test coverage detected