Skip to main content

Module term

Module term 

Source

Structs§

SelectItem
An item in the interactive select menu.

Constants§

ARROW
CHECK
CROSS
DASH
DIAMOND
DOT
EMPTY

Functions§

bold
bold_white
brand_green
Bold brand green — the primary brand colour for the “shunt” wordmark.
confirm
Horizontal rule, dimmed Simple [y/N] confirmation prompt. Returns true if the user confirms. Defaults to NO on empty input.
cyan
dark_green
256-colour dark forest green — used for borders and decorative chrome.
dim
fmt_duration_ms
Format a duration in ms dynamically:
fmt_tokens
Format a large token count as “1.2k” / “34k” / “1.1M” / raw
green
green_bold
Bold bright green — used for account names in the routing diagram.
red
rule
section
Print a section header like: ◆ Accounts ─────────────────
select
Show an interactive, arrow-key-navigable menu and return the chosen value.
yellow