Skip to main content

Module output

Module output 

Source
Expand description

Terminal-aware presentation for haz run.

The module groups four concerns:

The haz-exec crate stays terminal- / colour-agnostic. Pulling this presenter through the existing TaskPresenter port is the single integration point: the binary picks the presenter at startup and feeds it into the observer it hands the scheduler.

Modules§

color_choice
Auto-detection of whether haz run should emit ANSI colour escape sequences.
duration
Human-readable Duration formatting for the per-task summary lines and the run-level epilogue.
epilogue
Run-level summary emitted after the scheduler returns.
palette
Deterministic per-task colour assignment plus the small ANSI escape-code helpers the presenter writes.
presenter
haz run’s TaskPresenter implementation: colour, glyphs, and per-task duration in summary lines.