An extension program to curses that offers option menus, message boxes, and more
Project description
Curses Plus
Extension library to curses
How To Install
Use pip3 install cursesplus
on Linux
SPECIAL INSTRUCTIONS FOR WINDOWS
For Windows you need to also install windows-curses
or related program
to provide the basic curses functionality
What's New?
Version 1.3
-Add FileDialog.openfiledialog
-Accepts stdscr, filter, title, and directory
-filter example is [[filter glob (like *.py),filter name],["*Another filter*","Another filter"]]
-Nested list
-Directory is what directory it should start on (default CWD)
-Title is the title that should be shown
Uses
curses-plus offers many utilities to make writing TUI applications easy. (TUI stands for Terminal User Interface)
load_colours(grayscale=False)
load_colours() accept 0-1 args and initializes some colours. Usage of this function is required for optionmenu. grayscale denotes if only grayscale should be used (grayscale can improve visibility on Windows)
If I have more time I will finish this blasted documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cursesplus-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ff25b33a0519ec8baecbe2f18cdd441fc1875b96378262d02ca2fdf7b451064 |
|
MD5 | 76639ad80301e672ad8434bb5a5a7a49 |
|
BLAKE2b-256 | 4fe487380768acc1e50d0c8bd92b2cb063d3f9235a7d9a75af0fe0002658f4b1 |