mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-10-31 18:21:48 +00:00
Take default color length into account when calculating module text
length
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ func run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Continue if text length is 0
|
// Continue if text length is 0
|
||||||
if len(textNoColor) == 0 {
|
if len(textNoColor)-len(colorMap[0]) == 0 {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user