Public Member Functions | |
def | __init__ |
Public Attributes | |
BOL | |
CLEAR_LINE | |
COLS | |
Static Public Attributes | |
string | BOL |
string | UP |
string | DOWN |
string | LEFT |
string | RIGHT |
string | CLEAR_EOL |
string | CLEAR_LINE |
string | BOLD |
string | NORMAL |
int | COLS |
string | BLACK |
FORCE_SIMPLE_TERM | |
Private Member Functions | |
def | _tigetstr |
Static Private Attributes | |
string | _STRING_CAPABILITIES |
string | _COLORS |
string | _ANSICOLORS |
A class taken from epydoc that can be used to portably generate formatted output to a terminal. See U{http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/475116} for documentation. (This is a somewhat stripped-down version.)
Definition at line 3 of file TerminalController.py.
def TerminalController.TerminalController.__init__ | ( | self, | |
term_stream = sys.stdout |
|||
) |
Definition at line 33 of file TerminalController.py.
References TerminalController.TerminalController.FORCE_SIMPLE_TERM.
def TerminalController.TerminalController._tigetstr | ( | self, | |
cap_name | |||
) | [private] |
Definition at line 71 of file TerminalController.py.
string TerminalController.TerminalController._ANSICOLORS [static, private] |
Definition at line 26 of file TerminalController.py.
string TerminalController.TerminalController._COLORS [static, private] |
Definition at line 25 of file TerminalController.py.
string TerminalController.TerminalController._STRING_CAPABILITIES [static, private] |
Definition at line 22 of file TerminalController.py.
string TerminalController.TerminalController.BLACK [static] |
Definition at line 20 of file TerminalController.py.
string TerminalController.TerminalController.BOL [static] |
Definition at line 10 of file TerminalController.py.
Definition at line 43 of file TerminalController.py.
string TerminalController.TerminalController.BOLD [static] |
Definition at line 17 of file TerminalController.py.
string TerminalController.TerminalController.CLEAR_EOL [static] |
Definition at line 15 of file TerminalController.py.
string TerminalController.TerminalController.CLEAR_LINE [static] |
Definition at line 16 of file TerminalController.py.
Definition at line 44 of file TerminalController.py.
int TerminalController.TerminalController.COLS [static] |
Definition at line 19 of file TerminalController.py.
Definition at line 52 of file TerminalController.py.
string TerminalController.TerminalController.DOWN [static] |
Definition at line 12 of file TerminalController.py.
Definition at line 31 of file TerminalController.py.
Referenced by TerminalController.TerminalController.__init__().
string TerminalController.TerminalController.LEFT [static] |
Definition at line 13 of file TerminalController.py.
string TerminalController.TerminalController.NORMAL [static] |
Definition at line 18 of file TerminalController.py.
string TerminalController.TerminalController.RIGHT [static] |
Definition at line 14 of file TerminalController.py.
string TerminalController.TerminalController.UP [static] |
Definition at line 11 of file TerminalController.py.