Skip to content

Commit fc27647

Browse files
authored
Merge pull request #43 from ythri/windows_support
Fix CLI output for Windows 10
2 parents 810c9c4 + 11fa8cb commit fc27647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ fn main() -> anyhow::Result<()> {
5252
finished_activity_path,
5353
));
5454

55+
if cfg!(windows) {
56+
ansi_term::enable_ansi_support().unwrap_or(());
57+
}
5558
let action = run(&matches, &clock)?;
5659
let mutation = dry_run_action(action, &service, &clock, &config)?;
5760
if matches.is_present("dry-run") {

0 commit comments

Comments
 (0)