Skip to main content

Module console

Module console 

Source
Expand description

The Console — the high-level rendering entry point.

Port of upstream rich/console.py (core subset): terminal / color-system / width detection, markup + highlighter application, and writing styled output. Layout options, capture, export, and paging land in the Console-completeness issue.

Structs§

Console
The high-level interface for rendering to a terminal. Mirrors rich.console.Console.
ConsoleBuilder
Builder for Console, allowing detection to be overridden.
ConsoleOptions
The options passed to a Renderable describing the space it must fit into.

Enums§

Justify
Horizontal justification of a renderable within its width. Mirrors rich.console.JustifyMethod.
Overflow
What to do with text that is wider than the space available. Mirrors rich.console.OverflowMethod.