A tool for making terminal menus.
Project description
TermMenu
This is a little Python project that I wanted to do for some time.
The idea is that you should be able to make a terminal menu (below) easily and compactly.
Choose one:
1. Start game
2. Settings
3. And more
> {User input here}
Usage
To start off you need to import the library, and create a new menu.
import termmenu
testmenu = termmenu.Menu(title="What's up") # title is optional
Adding entries
To add entries, we use Menu.add_entry, usage:
Menu.add_entry(text, run=None, entry=None)
Documentation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termmenu-1.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters