1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-20 16:33:20 +00: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
+1 -1
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