Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Functions | Variables
pygments.console Namespace Reference

Functions

 reset_color ()
 
 colorize (color_key, text)
 
 ansiformat (attr, text)
 

Variables

str esc = "\x1b["
 
dict codes = {}
 
list dark_colors
 
list light_colors
 
int x = 30
 

Detailed Description

    pygments.console
    ~~~~~~~~~~~~~~~~

    Format colored console output.

    :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.

Function Documentation

◆ ansiformat()

pygments.console.ansiformat (   attr,
  text 
)
Format ``text`` with a color and/or some attributes::

    color       normal color
    *color*     bold color
    _color_     underlined color
    +color+     blinking color

Variable Documentation

◆ dark_colors

list pygments.console.dark_colors
Initial value:
1= ["black", "red", "green", "yellow", "blue",
2 "magenta", "cyan", "gray"]

◆ light_colors

list pygments.console.light_colors
Initial value:
1= ["brightblack", "brightred", "brightgreen", "brightyellow", "brightblue",
2 "brightmagenta", "brightcyan", "white"]