int select_menu(winid window, int how, menu_item **selected) -- Return the number of items selected; 0 if none were chosen, -1 when explicitly cancelled. If items were selected, then selected is filled in with an allocated array of menu_item structures, one for each selected line. The caller must free thi
| 762 | create_nhwindow() time. |
| 763 | */ |
| 764 | int |
| 765 | curses_select_menu(winid wid, int how, MENU_ITEM_P ** selected) |
| 766 | { |
| 767 | if (inv_update) |
| 768 | return 0; |
| 769 | |
| 770 | return curses_display_nhmenu(wid, how, selected); |
| 771 | } |
| 772 | |
| 773 | void |
| 774 | curses_update_inventory(int arg) |
no test coverage detected