Skip to main content

Module table

Module table 

Source
Expand description

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.

Functions§

render_table
Renders the worktrees as an aligned table for the given columns and terminal width. ANSI color is applied to status/dirty/PR cells when color is set.