linkcheck.colorama

Functions

GetConsoleScreenBufferInfo([stream_id])

Get console screen buffer info object.

SetConsoleTextAttribute(stream_id, attrs)

Set a console text attribute.

get_attrs(foreground, background, style)

Get foreground and background attributes.

get_console_size()

Get the console size.

init()

Initialize foreground and background attributes.

reset_console([stream])

Reset the console.

set_console([stream, foreground, ...])

Set console foreground and background attributes.

Classes

CONSOLE_SCREEN_BUFFER_INFO(*args, **kwargs)

struct in wincon.h.

COORD(*args, **kwargs)

struct in wincon.h

SMALL_RECT(*args, **kwargs)

struct in wincon.h.

class linkcheck.colorama.CONSOLE_SCREEN_BUFFER_INFO(*args: Any, **kwargs: Any)[source]

Bases: Structure

struct in wincon.h.

class linkcheck.colorama.COORD(*args: Any, **kwargs: Any)[source]

Bases: Structure

struct in wincon.h

class linkcheck.colorama.SMALL_RECT(*args: Any, **kwargs: Any)[source]

Bases: Structure

struct in wincon.h.

linkcheck.colorama.GetConsoleScreenBufferInfo(stream_id=-11)[source]

Get console screen buffer info object.

linkcheck.colorama.SetConsoleTextAttribute(stream_id, attrs)[source]

Set a console text attribute.

linkcheck.colorama.get_attrs(foreground, background, style)[source]

Get foreground and background attributes.

linkcheck.colorama.get_console_size()[source]

Get the console size.

linkcheck.colorama.init()[source]

Initialize foreground and background attributes.

linkcheck.colorama.reset_console(stream=-11)[source]

Reset the console.

linkcheck.colorama.set_console(stream=-11, foreground=None, background=None, style=None)[source]

Set console foreground and background attributes.