diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-12-19 12:32:30 +0000 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-12-19 12:32:30 +0000 |
commit | 31066fc8803e47e5f992c53ab611e8077093693a (patch) | |
tree | 7c19ee1cded6b9881cff9bc8379ddb2f589216f7 | |
parent | a52e36d521fa03cffc457a031bd08340f6318767 (diff) |
Do not paint hunk header twice
The text being passed to the draw function has already been painted.
-rw-r--r-- | src/delta.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delta.rs b/src/delta.rs index adcb40ae..de9d68e2 100644 --- a/src/delta.rs +++ b/src/delta.rs @@ -509,7 +509,7 @@ fn handle_hunk_header_line( &painter.output_buffer, &painter.output_buffer, &config.decorations_width, - config.hunk_header_style, + config.null_style, decoration_ansi_term_style, )?; painter.output_buffer.clear(); |