Skip to content

Custom console enviroment for windows, written in Python3

License

Notifications You must be signed in to change notification settings

Riptide00/pretty_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

![Mac](https://img.shields.io/badge/OS X-Unavailable-red.svg) Windows Linux Development Version Repo size

Pretty

Do stuff in the console! set cursor position, console size or read values like the console width and or height.

Installation

> pip install -r requirements.txt

Use

c = console.Console()

c.start()

c.stop()

c.title("title")

c.color("COLOR")

c.out("Wabelabedubdub")

c.get_input()

consolesize.get()

consolesize.get_height()

consolesize.get_width()

consolesize.set(12, 20)

consolesize.set_height(12)

consolesize.set_width(20)

cursor.set(10, 20)

cursor.show()

cursor.hide()

text.center("help")

text.color("red", "color this text")

Todo

  • Get cursor position (impossible?)
  • Smooth output
  • Catch std.out and redirect to console.buffer
  • Refactor 'pretty_console' to just 'pretty'
  • Make this a package (Research 'init.py' and such ...)
  • Cleanup! IMPORTANT (Threads are spawned without any 'control' atm)

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

v1.0.0/dev: Development build.

License

License

About

Custom console enviroment for windows, written in Python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages