From fabc1adbf7d15bfb45c0a2ca4344fd162ee976ea Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 22 Dec 2025 14:28:51 +0200 Subject: [PATCH] Take default color length into account when calculating module text length --- src/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.go b/src/main.go index 0f496cf..725bdb8 100644 --- a/src/main.go +++ b/src/main.go @@ -107,7 +107,7 @@ func run() { } // Continue if text length is 0 - if len(textNoColor) == 0 { + if len(textNoColor)-len(colorMap[0]) == 0 { continue }