Go to file
Sebastian Lohff f9b429c696 Return with "no success" when no options are given
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.
2022-10-26 12:26:36 +02:00
clintermission Return with "no success" when no options are given 2022-10-26 12:26:36 +02:00
examples Add support for cursorless menus 2020-09-06 21:08:06 +02:00
.gitignore Initial commit 2019-01-31 23:58:29 +01:00
LICENSE Initial commit 2019-01-31 23:58:29 +01:00
README.md Improve README.md a tiny bit 2020-08-16 15:13:22 +02:00
requirements.txt Initial commit 2019-01-31 23:58:29 +01:00
setup.cfg Release v0.2.0 2020-09-15 23:20:57 +02:00
setup.py Initial commit 2019-01-31 23:58:29 +01:00

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.