Skip to content

ANSI colors do not display correctly for cargo installed binary #1221

Open
@ickk

Description

@ickk

master@e2922fd does display ANSI colors only when called via cargo:

cargo run -- .

however it does not correctly display ANSI colors when installed and run. (This also effects v13.0.0-alpha.7 installed via crates.io)

cargo install --path .; tokei .

instead the ANSI codes are displayed literally. See the image attached

image

v13.0.0-alpha.1 does work correctly when installed. alpha.2-alpha.7 are either broken in this way, or broken for other reasons (clap).

I'm using Windows 10 22H2, with powershell7 on conhost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions