From 1785907195c7ae7232ece624a7a81afb12fec6ad Mon Sep 17 00:00:00 2001 From: Artem Streltsov Date: Mon, 26 Feb 2024 21:20:49 +0000 Subject: [PATCH] fix line format --- src/row.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/row.rs b/src/row.rs index 10a95a7..2b81b0e 100644 --- a/src/row.rs +++ b/src/row.rs @@ -36,8 +36,7 @@ impl Row { let highlighting_type = self.highlighting.get(index).unwrap_or(&highlighting::Type::None); if highlighting_type != current_highlighting { current_highlighting = highlighting_type; - let start_highlight = - format!("{}", termion::color::Fg(highlighting_type.to_color())); + let start_highlight = format!("{}", termion::color::Fg(highlighting_type.to_color())); result.push_str(&start_highlight[..]); } if c == '\t' {