Rendering API

wijjit.rendering sits between the layout engine and the terminal. It converts style information into cells and handles ANSI diffing.

Key classes

wijjit.rendering.paint_context.PaintContext

Rendering context for cell-based element painting.

wijjit.rendering.ansi_adapter.ansi_string_to_cells

Parse ANSI escape sequence string and convert to Cell objects.

wijjit.rendering.ansi_adapter.cells_to_ansi

Convert Cell objects to ANSI escape sequence string.