Skip to content

run cargo with --color=always#120

Merged
nick1udwig merged 1 commit intomasterfrom
hf/get-cargo-colors-back
Mar 31, 2024
Merged

run cargo with --color=always#120
nick1udwig merged 1 commit intomasterfrom
hf/get-cargo-colors-back

Conversation

@nick1udwig
Copy link
Copy Markdown
Member

Problem

Resolves #102

Solution

The command called by std::process::Command can tell if it is being printed to terminal -- like when we use Stdio::inherit -- vs when it is being piped -- like when we use Stdio::piped. We changed to piping and lost the color. Fix by passing --color=always to cargo.

Docs Update

N/A

Notes

FYI @tadad

@nick1udwig nick1udwig merged commit 0c379e0 into master Mar 31, 2024
@nick1udwig nick1udwig deleted the hf/get-cargo-colors-back branch March 31, 2024 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: kit b prints errors in black and white on mac

1 participant