| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
ConsoleStyleFile A file-like object that behaves something like the colorize() function. |
|||
|
StyleWriter This is just a DumbWriter with a hook in the new_styles() method that passes a styles tuple as a single argument to a callable style_listener attribute. |
|||
|
EOutput Performs fancy terminal formatting for status and informational messages. |
|||
|
ProgressBar The interface is copied from the ProgressBar class from the EasyDialogs module (which is Mac only). |
|||
|
TermProgressBar A tty progress bar similar to wget's. |
|||
|
|||
|
|||
| dict |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
havecolor = 1
|
|||
dotitles = 1
|
|||
esc_seq =
|
|||
g_attr =
|
|||
codes =
|
|||
ansi_color_codes =
|
|||
rgb_ansi_colors =
|
|||
default_xterm_title = None
|
|||
compat_functions_colors =
|
|||
c =
|
|||
Imports: commands, errno, formatter, os, re, shlex, sys, COLOR_MAP_FILE, writemsg, CommandNotFound, FileNotFound, ParseError, PermissionDenied, PortageException
|
|||
Parse /etc/portage/color.map and return a dict of error codes.
|
Get the number of lines and columns of the tty that is connected to stdout. Returns a tuple of (lines, columns) or (-1, -1) if an error occurs. The curses module is used if available, otherwise the output of `stty size` is parsed. |
Set the number of lines and columns for the tty that is connected to fd. For portability, this simply calls `stty rows $lines columns $columns`. |
|
|||
g_attr
|
codes
|
ansi_color_codes
|
rgb_ansi_colors
|
compat_functions_colors
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Sep 10 22:59:00 2008 | http://epydoc.sourceforge.net |