Skip to main content

Module output

Module output 

Source
Expand description

Printing helpers: short text by default, JSON with --json.

Structs§

Styles
The styles of the words that carry a meaning. Each is bold.

Enums§

ColourLevel
How much colour the terminal takes, best first.

Constants§

DIM
Secondary text, such as a line that only says the CLI is waiting.
GLYPH
The brand’s mark in the terminal: the asterism, three notes left on a page.
LINK
A link: underlined, in the default foreground.

Functions§

banner
The banner line, ⁂ semora · Your projects, considered.: the glyph in the brand colour, the name in the default foreground, the tagline in the done colour. Neither is bold.
clean_name
A person’s name for printing on one line: control characters removed, square brackets turned into round ones (so a name can’t end an event header like [comment #12 from Ada] early), cut at 80 characters.
colour_level
The level for a stream. colour is whether the stream takes colour at all (a terminal, and no NO_COLOR). COLORTERM of truecolor or 24bit means 24-bit colour, the same test as anstyle_query::truecolor. The terminal counts as light only when COLORFGBG is set and its last field, the background, is 7 or 15.
err
The styles for what is printed on stderr.
error
The line a failed command ends with.
json
out
The styles for what is printed on stdout.
size
styles
The styles at a level: brand, done, warning, error.
ts
2026-09-25 14:03 in UTC.
warn