wrecked 1.0.20

Creator: bradpython12

Last updated:

0 purchases

wrecked 1.0.20 Image
wrecked 1.0.20 Images

Languages

Categories

Add to Cart

Description:

wrecked 1.0.20

wrecked_bindings
Python bindings for the wrecked terminal interface library.



Installation
Can be installed through pip
pip install wrecked

Usage
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
new_rect.set_bg_color(wrecked.BLUE)

# And finally underline the text of the rectangle
new_rect.set_underline_flag()

# Draw the environment
top_rect.draw()

# take down the environment, and turn echo back on.
wrecked.kill()

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.