| 276 | * and returns the value keyboard shortcut of the selected menu item */ |
| 277 | |
| 278 | int wmenuSelect(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, const unsigned int menuDefault) |
| 279 | { |
| 280 | unsigned int current=menuDefault; |
| 281 | return wmenuSelect_ext(window, yinfo, y, x, menuItems, itemLength, available, menuType, ¤t, NULL); |
| 282 | } |
| 283 | |
| 284 | int wmenuSelect_ext(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, unsigned int *current, int *real_key) |
| 285 | { |
no test coverage detected