From 31066fc8803e47e5f992c53ab611e8077093693a Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Sat, 19 Dec 2020 12:32:30 +0000 Subject: Do not paint hunk header twice The text being passed to the draw function has already been painted. --- src/delta.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3