OptionaldescriptionOptional supporting text rendered after the primary metric.
Human-readable label explaining the metric.
OptionallayoutArrangement of label and value.
stacked renders the label above the value.inline renders the label and value on one line.OptionaltrendOptional directional change rendered beside the primary value.
OptionaltrendGlyphs used for up, down, and flat trends.
Every glyph must be non-empty. Prefer single-cell characters.
OptionalunitOptional unit appended to the primary value.
Use RenderStatOptions.unitSeparator when a space or custom separator is required.
OptionalunitText inserted between the primary value and unit.
The empty default supports attached units such as %. Use ' ' for
detached units such as GB.
Primary metric value.
Numeric values must be finite.
Options accepted by renderStat.
A Stat presents one primary metric. It can add a unit, directional trend, and description without embedding ANSI sequences or Blessed tags.