If the user gave us no options then we used to just raise a ValueError (due to initial_pos being out of range). In most - if not all - cases it would be more favorable to act the same way as if the selection has been aborted, so that's what we're doing now. |
||
|---|---|---|
| clintermission | ||
| examples | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| setup.cfg | ||
| setup.py | ||
README.md
Clintermission - Python CLI Intermission Library
clintermission is a small Python library designed to quickly get a selection
of a single or multiple items from a user. The menu shown is explicitly not a
fullscreen menu so the user can use information in their console history to
make a selection.
The menu is implemented by using prompt-toolkit's Buffer class.
Inspired by go promptui.