Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

curses_menu

A python module for creating CLI menu/user interface with curses.

Story

I have been using curses to make some CLIs. I want to make my life easier by creating a menu module that based on curses.

Road Map

v0.3.0 Customization Update ?/?/20 (projected):

Future: let user to add costumize text verification function for edit mode.

Future: add color support?

Future: more costumize options

Future: allow user to pass function with argument in simple mode

Future: overhaul how to handle items.

v0.2.1 (unstable) Update 5/19/19:

Update Wiki

Note: During development, I found many things need to overhaul or redesign. Due to a significant change to the structure of the module, many change will move on to the v0.3.0. This version might be unstable due to this version did not go through any in-depth testing.

Feature: Allow user to add costumize text to the menu

Feature: Overhaul add_item function. Now, each mode get its own add_{mode}_item function.

v0.2.0 Item Type Update 4/18/19:

Feature: User now can make the item operate in 4 different mode:

  1. Simple mode: User can supply the item with a function. When the item is selected in the menu, the supplied function will be executed
  2. Link mode: User can supply the item with a menu object. When the item is selected in the menu, it will display the supplied menu. When exit the supplied menu, it will return the previouse menu.
  3. Edit mode: User can supply the item with a variable. The variable will display within the menu. When the item is selected, user can edit the supplied variable.
  4. Exit mode: When the item is selected, it will exit the current menu.

Bug: minor bug fixed

v0.1.0 Useable Version 4/11/19:

Feature: User is able to create Menu object and create item that need to be display in the menu

Feature: User can call display() method to display the menu; the display is handle by the curses.wrapper()

About

A python module for creating CLI menu/user interface with curses.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages