|
|
|
|
|
by nmstoker
2672 days ago
|
|
First thoughts were that this was handled by Prompt Toolkit, but it's actually a slightly different case to the auto complete which that one offers: https://python-prompt-toolkit.readthedocs.io/en/stable Might be useful to handle deactivated choices (ie greyed out). It looks like it handles multi choice (with the check feature), but can it do validation upon a check being selected or does it need to wait until the user has made their choice? Am thinking for catching invalid combinations. |
|