Skip to main content

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

Before version 1.2: For Windows you need to also install windows-curses to provide the basic curses functionality

After Version 1.2: setup.py automatically installs windows-curses if you are on Windows TESTS NEEDED

What's New?

Patch 1.2.1

-Add new argument to ProgressBar.step()

-addmsgtolog (type bool) (default False)

-If set to True, will add "message" to log

-Only writes in normal colour. Use .appendlog() for custom colours

Version 1.2

-Add Log to ProgressBar class

-Add WaitForKeyPress to ProgressBar class (default false)

-Log is default false

-Add to log with appendlog(text,colour)

-colour is curses.color-pair() value. NOTE: You must pass it through color_pair() before giving it to appendlog().

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

cursesplus-1.2.1.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

cursesplus-1.2.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page