aegirhall / console-menu

A simple Python menu system for building terminal user interfaces.
MIT License
365 stars 58 forks source link

MultiSelectMenu return selections #53

Open anelliot opened 4 years ago

anelliot commented 4 years ago

I understand that if you want to use the selection menu but provide the option to selection multiple items, you should use the MultiSelectMenu.

However, from what I understand these are somewhat different use cases. Is there a simple/recommended way to have a selection menu that behaves like the SelectionMenu but returns multiple selections? I don't want to launch any functions for each item; I simply want to return a list of selected items.

I've looked through the code and all of the examples, and any attempt I've made at this seems far more complicated and convoluted than it should be. Wondering if I'm missing something here and there's a simple way to implement a multi selection menu with SelectionItems.