Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Eeems/intercessions

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is outdated and you should start using blessed instead


Known VulnerabilitiesRequirements Status

Intercessions

A blessings polyfill for the windows command line.

Attempts to implement the full blessings API in a format that will work on windows. Makes use of colorama to help with styling.

Installation

pip install intercessions

Usage

from intercessions import Terminal

t = Terminal()
with t.location(0,0), t.hidden_cursor():
    print(t.bold_red('Hello World!') + t.clear_eol)
    raw_input('Press Enter' + t.clear_eol)

If blessed is installed it will return the Terminal version of it instead. If blessings is installed and you are not running the windows version of python it will attempt to return the blessings instance of Terminal instead of the intercessions one.

About

A blessings polyfill for the windows command line

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages