1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-12 00:02:28 +01:00

Restructure and fix bug in line range module

This commit is contained in:
sharkdp
2020-03-21 17:22:17 +01:00
committed by David Peter
parent 4855a47105
commit fedd32173e
4 changed files with 62 additions and 20 deletions

View File

@@ -376,7 +376,7 @@ impl<'a> Printer for InteractivePrinter<'a> {
// Line highlighting
let highlight_this_line =
self.config.highlight_lines.check(line_number) == RangeCheckResult::InRange;
self.config.highlighted_lines.0.check(line_number) == RangeCheckResult::InRange;
let background_color = self
.background_color_highlight