Skip to content

Commit

Permalink
Auto color output
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWaWaR committed Oct 27, 2024
1 parent 9173116 commit 4e05b9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pub fn build_spec(fg: Option<Color>, bold: bool) -> ColorSpec {
impl Printer {
pub fn new() -> Printer {
Printer {
outwriter: BufferWriter::stdout(ColorChoice::Always),
errwriter: BufferWriter::stderr(ColorChoice::Always),
outwriter: BufferWriter::stdout(ColorChoice::Auto),
errwriter: BufferWriter::stderr(ColorChoice::Auto),
}
}

Expand Down

0 comments on commit 4e05b9f

Please sign in to comment.