class TerminalTrueColorFormatter(Terminal256Formatter):
Format tokens with ANSI color sequences, for output in a true-color
terminal or console. Like in TerminalFormatter
color sequences
are terminated at newlines, so that paging the output works correctly.
Options accepted:
style
Method | _build_color_table |
Undocumented |
Method | _color_tuple |
Undocumented |
Method | _setup_styles |
Undocumented |
Class Variable | aliases |
Undocumented |
Class Variable | filenames |
Undocumented |
Class Variable | name |
Undocumented |
Inherited from Terminal256Formatter
:
Method | __init__ |
Undocumented |
Method | _closest_color |
Undocumented |
Method | _color_index |
Undocumented |
Method | _write_lineno |
Undocumented |
Method | format |
Format tokensource, an iterable of (tokentype, tokenstring) tuples and write it into outfile. |
Method | format_unencoded |
Undocumented |
Instance Variable | _lineno |
Undocumented |
Instance Variable | best_match |
Undocumented |
Instance Variable | linenos |
Undocumented |
Instance Variable | style_string |
Undocumented |
Instance Variable | usebold |
Undocumented |
Instance Variable | useitalic |
Undocumented |
Instance Variable | useunderline |
Undocumented |
Instance Variable | xterm_colors |
Undocumented |
Inherited from Formatter
(via Terminal256Formatter
):
Method | get_style_defs |
Return the style definitions for the current style as a string. |
Class Variable | unicodeoutput |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | full |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | style |
Undocumented |
Instance Variable | title |
Undocumented |