Skip to main content

Module style

Module style 

Source
Expand description

Semantic terminal styles. Styled lines must be printed through anstream::println!/eprintln!, which strip color for pipes, NO_COLOR, and consoles that cannot render it.

Constants§

BRANCH
Branch names.
CLOSED
CURRENT
The branch you are standing on.
DIM
Secondary detail: URLs, the trunk tag, counts.
HINT
The hint: prefix.
MERGED
OPEN
Review states, matching the ledger emoji: green open, purple merged, red closed.
WARN
The warning: prefix.

Functions§

paint
state
A review state in its color.