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:
@@ -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
|
||||
|
Reference in New Issue
Block a user