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

Function curses_end_menu

win/curses/cursmain.c:730–737  ·  view source on GitHub ↗

end_menu(window, prompt) -- Stop adding entries to the menu and flushes the window to the screen (brings to front?). Prompt is a prompt to give the user. If prompt is NULL, no prompt will be printed. ** This probably shouldn't flush the window any more (if ** it ever did). That should be sel

Source from the content-addressed store, hash-verified

728 ** it ever did). That should be select_menu's job. -dean
729*/
730void
731curses_end_menu(winid wid, const char *prompt)
732{
733 if (inv_update)
734 return;
735
736 curses_finalize_nhmenu(wid, prompt);
737}
738
739/*
740int select_menu(winid window, int how, menu_item **selected)

Callers 4

curses_character_dialogFunction · 0.85
curses_prev_mesgFunction · 0.85
curses_display_nhwindowFunction · 0.85
curses_view_fileFunction · 0.85

Calls 1

curses_finalize_nhmenuFunction · 0.85

Tested by

no test coverage detected