diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-04-29 21:01:07 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-04-30 00:08:20 -0400 |
commit | af1e2d663ced3d1248f7e2f9b8cfe693ca395b21 (patch) | |
tree | d17623a2a3eaf0825e6a30d11844d149e596645d /tests | |
parent | b8d5cd3775624af6866c77113955840f821753ff (diff) |
Use ANSI CSI "Erase in Line" code instead of right-padding
Fixes #136
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test_color_only_output_matches_git_on_full_repo_history | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_color_only_output_matches_git_on_full_repo_history b/tests/test_color_only_output_matches_git_on_full_repo_history index ebe656e2..68511bd6 100755 --- a/tests/test_color_only_output_matches_git_on_full_repo_history +++ b/tests/test_color_only_output_matches_git_on_full_repo_history @@ -1,3 +1,3 @@ #!/bin/bash GIT_ARGS="log --patch --stat --numstat" -diff -u <(git $GIT_ARGS) <(git $GIT_ARGS | ./target/release/delta --color-only | perl -pe 's/\e\[[0-9;]*m//g') +diff -u <(git $GIT_ARGS) <(git $GIT_ARGS | ./target/release/delta --color-only | perl -pe 's/\e\[[0-9;]*[mK]//g') |