Problem: No built-in way to display tabular data with per-column colors and alignment.
Why it matters: File listings and reports benefit from aligned, colored tables without external libraries.
Proposed solution: Implement console.table(rows, headers=None, col_aligns=None, col_colors=None) that calculates column widths and emits ANSI-aligned lines. Support left/right/center alignment.
Notes: Keep implementation simple; handle multi-line cells gracefully. Provide examples in docs.
Problem: No built-in way to display tabular data with per-column colors and alignment.
Why it matters: File listings and reports benefit from aligned, colored tables without external libraries.
Proposed solution: Implement console.table(rows, headers=None, col_aligns=None, col_colors=None) that calculates column widths and emits ANSI-aligned lines. Support left/right/center alignment.
Notes: Keep implementation simple; handle multi-line cells gracefully. Provide examples in docs.