Functions§
- bold
- cyan
- dim
- external_
presets_ note - Returns a formatted note indicating the active external presets directory.
- green
- presets_
overlay_ note - Returns a formatted note indicating the active presets overlay directory.
- red
- shell_
deployment_ note - Returns a formatted note describing how external shell presets are deployed.
- status_
label - symbol
- symbol_
stderr - Like
symbol, but checks color support against stderr instead of stdout. Use this when the result is printed witheprintln!— checking the wrong stream means color escapes can be wrongly included or omitted when stdout and stderr have different redirection (e.g.cmd > log.txtwith a real terminal still attached to stderr). - yellow
- yellow_
stderr - Like
yellow, but checks color support against stderr. Seesymbol_stderrfor why this matters.