Skip to content

Commit 4e05b9f

Browse files
committed
Auto color output
1 parent 9173116 commit 4e05b9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/color.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ pub fn build_spec(fg: Option<Color>, bold: bool) -> ColorSpec {
2020
impl Printer {
2121
pub fn new() -> Printer {
2222
Printer {
23-
outwriter: BufferWriter::stdout(ColorChoice::Always),
24-
errwriter: BufferWriter::stderr(ColorChoice::Always),
23+
outwriter: BufferWriter::stdout(ColorChoice::Auto),
24+
errwriter: BufferWriter::stderr(ColorChoice::Auto),
2525
}
2626
}
2727

0 commit comments

Comments
 (0)