Skip to content
Myr

Keep coloring on Windows if auto or full

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Steve Pentland · committed by David Peter · parent 0d46c30 · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:src/main.rs+4 added-3 removed
145 unmodified lines
146 OutputStyleOption::Basic147 },148 };149150 if options.output_style == OutputStyleOption::Basic {151 colored::control::set_override(false);152 }153154 if cfg!(target_os = "windows") {155 options.output_style = OutputStyleOption::Basic;156 }157154 if options.output_style == OutputStyleOption::Basic {155 colored::control::set_override(false);156 }158 if matches.is_present("ignore-failure") {159 options.failure_action = CmdFailureAction::Ignore;160 }161
7 unmodified lines