Skip to main content

Bindings for the wrecked terminal graphics library

Project description


Python bindings for the wrecked terminal interface library.
PyPI - Downloads PyPI GitHub


Can be installed through pip

pip install wrecked


import wrecked

# Instantiates the environment. Turns off input echo.
top_rect = wrecked.init()

# create a rectangle to put text in.
new_rect = top_rect.new_rect(width=16, height=5)

# Add a string to the center of the rectangle
new_rect.set_string(2, 3, "Hello World!")

# Make that rectangle blue

# And finally underline the text of the rectangle

# Draw the environment

# take down the environment, and turn echo back on.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wrecked, version 1.0.15
Filename, size File type Python version Upload date Hashes
Filename, size wrecked-1.0.15.tar.gz (1.8 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page