Skip to content

Commit fabc1ad

Browse files
committed
Take default color length into account when calculating module text
length
1 parent 3b7cb5e commit fabc1ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ func run() {
107107
}
108108

109109
// Continue if text length is 0
110-
if len(textNoColor) == 0 {
110+
if len(textNoColor)-len(colorMap[0]) == 0 {
111111
continue
112112
}
113113

0 commit comments

Comments
 (0)