Sebastian Lohff
26412d400f
Menus without a header had their initial position set to the second element by default. This was due to most menus having a header and us calling next_item() unconditionally. Now we first go to the first focusable item and then call next_item() as many times as needed to get to the specified initial_pos. |
||
---|---|---|
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.