Go to file
Sebastian Lohff 26412d400f Fix off-by-one in initial pos for menus with no header
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.
2023-02-16 10:53:02 +01:00
clintermission Fix off-by-one in initial pos for menus with no header 2023-02-16 10:53:02 +01: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.