2 Commits
Author SHA1 Message Date
EnumDev fabc1adbf7 Take default color length into account when calculating module text
length
2025-12-22 14:28:51 +02:00
EnumDev 3b7cb5e4e2 Fix wrong module name in default config 2025-12-22 14:14:03 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ modules:
- name: kernel
- name: packages
- name: shell
- name: init
- name: init_system
- name: motherboard
- name: cpus
- name: gpus
+1 -1
View File
@@ -107,7 +107,7 @@ func run() {
}
// Continue if text length is 0
if len(textNoColor) == 0 {
if len(textNoColor)-len(colorMap[0]) == 0 {
continue
}