Skip to content

init

BLACK = '\x1b[30m' module-attribute

BLUE = '\x1b[34m' module-attribute

BOLD = '\x1b[1m' module-attribute

CYAN = '\x1b[36m' module-attribute

FOREGROUND = '\x1b[39m' module-attribute

GRAY = '\x1b[90m' module-attribute

GREEN = '\x1b[32m' module-attribute

GREY = '\x1b[90m' module-attribute

LIGHT_BLUE = '\x1b[94m' module-attribute

LIGHT_CYAN = '\x1b[96m' module-attribute

LIGHT_GRAY = '\x1b[37m' module-attribute

LIGHT_GREEN = '\x1b[92m' module-attribute

LIGHT_GREY = '\x1b[37m' module-attribute

LIGHT_PURPLE = '\x1b[95m' module-attribute

LIGHT_RED = '\x1b[91m' module-attribute

LIGHT_YELLOW = '\x1b[93m' module-attribute

NORMAL = '\x1b[0m' module-attribute

PURPLE = '\x1b[35m' module-attribute

RED = '\x1b[31m' module-attribute

UNDERLINE = '\x1b[4m' module-attribute

WHITE = '\x1b[97m' module-attribute

YELLOW = '\x1b[33m' module-attribute

ansi_escape_8bit = re.compile('(?:\\x1B[@-Z\\\\-_]|[\\x80-\\x9A\\x9C-\\x9F]|(?:\\x1B\\[|\\x9B)[0-?]*[ -/]*[@-~])') module-attribute

disable_colors = theme.add_param('disable-colors', bool(os.environ.get('PWNDBG_DISABLE_COLORS')), 'whether to color the output or not') module-attribute

none = str module-attribute

ColorConfig

__getattr__(attr)

__init__(namespace, params)

ColorParamSpec

Bases: NamedTuple

default: str instance-attribute

doc: str instance-attribute

name: str instance-attribute

black(x)

blue(x)

bold(x)

colorize(x, color)

cyan(x)

foreground(x)

generateColorFunction(config, _globals=globals())

generateColorFunctionInner(old, new)

gray(x)

green(x)

light_blue(x)

light_cyan(x)

light_gray(x)

light_green(x)

light_purple(x)

light_red(x)

light_yellow(x)

ljust_colored(x, length, char=' ')

normal(x)

purple(x)

red(x)

rjust_colored(x, length, char=' ')

strip(x)

terminateWith(x, color)

underline(x)

unstylize(x)

white(x)

yellow(x)