Skip to main content

Module progress

Module progress 

Source
Expand description

Progress displays (static rendering).

Port of rich/progress.py’s display: a grid of tasks, one row each, whose cells come from a list of ProgressColumns. Upstream builds a Table.grid (padding=(0, 1)); we render the equivalent inline — fixed columns take their widest cell, the bar column flexes to fill (capped at 40), and columns are separated by a single unstyled space.

The deterministic columns are ported: description, static text, the bar, percentage, and M-of-N. The time/rate/spinner columns depend on wall-clock elapsed (and the Live refresh loop) and remain deferred — see the Live/progress issue and docs/DIVERGENCES.md.

Structs§

Progress
A progress display over one or more Tasks. Mirrors rich.progress.Progress.
Task
A single tracked task. Mirrors the fields of rich.progress.Task this port renders.

Enums§

ProgressColumn
A column in a Progress display. Mirrors the deterministic subset of upstream’s ProgressColumns.