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.
- ERROR
- The
error:prefix. - HINT
- The
hint:prefix. - MERGED
- OPEN
- Review states, matching the ledger emoji: green open, purple merged, red closed.
- WARN
- The
warning:prefix.
Functions§
- branch
- A branch name in the branch color.
- dim
- Secondary detail: ids, urls, skip lines, previews.
- error_
prefix - The shared
error:prefix. - hint_
prefix - The shared
hint:prefix. - paint
- state
- A review state in its color.
- success
- Completion lines (“… complete”, “merged …”).
- warn
- Notable-but-not-fatal lines.