A tool to help make command line drawing easier.
Project description
CLITUI
Installing
pip install clitui
module v 0.1.0
keyboard support only on: Mac Linux
TUI is a module for making custom CLI/Console App's with python
Terminal suport
- Mac
- Linux
- Windows CMD
Features
- Label's
- Keybindings
- Everything so far is in python
Reason For Using this module.
-
Game
- Text based games (aka the real reason that lead me to make this module)
- Tetras
- Packman
- Hangman
- Block Break
-
Tools
- Hacking tools
- Development tools
Really there is is not reason, I only made this to have something to do and build my knowledge in python. I will though make a few games with it after I get this module working. Lots and lots of work ahead still.
Screen Shot
This is what I have so far, not much but it's a work in progress.
To get this example do
clitui matrix
in terminal and watch it rain!
clitui matrix j
You can place Labels It's not perfect but it works pretty well. Not stable
Placement of objects on screen and move it with key bindings. Not stable
Automatic detection of terminal size, not yet dynamically made. Only finds size of terminal when being created so if you resize the terminal the program will not.
`
TODO:
- add keyboard support for Windows
- Refactor existing code.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.