Skip to content

Add a simple table API with column alignment and colors #141

@hbisneto

Description

@hbisneto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Console ModuleRelated to the "Console" module inside FileSystemPro

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions