From ce8b4fae68b7aa05cc047eb39f16d0942e80b054 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 26 Oct 2023 15:07:16 +0200 Subject: [PATCH] Fix wrong line wrap --- src/tile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tile.rs b/src/tile.rs index 8b4204b..9437e56 100644 --- a/src/tile.rs +++ b/src/tile.rs @@ -275,7 +275,7 @@ impl Tile { if self.counting && !is_variation_selector { self.column_number += 1; - if self.column_number == self.inner_size.0 + 1 { + if self.column_number == self.inner_size.0 { self.stdout.push(String::new()); self.column_number = 0; }