Skip to content

support for ANSI codes for coloring #35

@pasteley

Description

@pasteley

It would be great if the CLI tool could use standard ANSI color codes (such as \033[31m for red), allowing colors to be rendered according to each user’s terminal theme rather than relying on a hardcoded palette. This approach would make the tool’s output more consistent with users’ preferences and terminal configurations.

Additionally, having a flag like --no-color to disable colored output (or automatically detecting when output is not a TTY) would be very helpful for scripting and accessibility.

charmbracelet/lipgloss actually supports ansi colors as described here, or alternativly Go libraries such as fatih/color can be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions