Skip to content

Commit

Permalink
Add color to diff output
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Apr 30, 2024
1 parent a03e581 commit 1e944ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ struct Cli {
}

fn diff_zu() -> Vec<String> {
vec!["/usr/bin/diff".to_string(), "-Zu".to_string()]
["/usr/bin/diff", "-Zu", "--color=auto"].into_iter().map(String::from).collect()
}

fn stack_inf() -> Byte {
Expand Down

0 comments on commit 1e944ca

Please sign in to comment.