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§
- Colour
Level - 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.
colouris whether the stream takes colour at all (a terminal, and noNO_COLOR).COLORTERMoftruecoloror24bitmeans 24-bit colour, the same test asanstyle_query::truecolor. The terminal counts as light only whenCOLORFGBGis 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:03in UTC.- warn