Module branchless::formatting[][src]

Formatting and output helpers.

We try to handle both textual output and interactive output (output to a “TTY”). In the case of interactive output, we render with prettier non-ASCII characters and with colors, using shell-specific escape codes.

Structs

Glyphs

Glyphs to use for rendering the smartlog.

Pluralize

Pluralize a quantity, as appropriate. Example: