Expand description
Output rendering: color decisions, paging, table layout, and the human
renderers. Submodules are added as the command surface grows; the
stdout/stderr discipline itself lives on crate::cx::Cx.
Modules§
- color
- Color output decision (spec §11 color precedence) and ANSI painting.
- json
- JSON output helpers: the newline-delimited framing used by
listandstatus --all(spec §7 — one object per line, never a wrapping array). - pager
- Paging of long human listings through
$PAGER(spec §13). - render
- Pure human renderers for worktree rows and status blocks (spec §7).
- table
- Compact table layout for
wt list(spec §7). Columns are padded to their natural width; the Commit column flexes and truncates to fit the terminal.