Open bheisler opened 4 years ago
I don't think this is a bug as you might want color codes when stdout is not terminal, e.g. to save to file which you then open in editor which supports color codes.
Also there is already --no-color
to not output colors.
When I try to run
cargo asm <args> | less
I see a bunch of escape codes in less. It would be nice if cargo-asm could detect if stdout is a terminal, or at least provide a--color=never
option.