Insert default color at the start of each module's text

This commit is contained in:
2025-12-22 13:40:17 +02:00
parent 705a40047b
commit b52145614f
+3
View File
@@ -91,6 +91,9 @@ func run() {
text := module.Execute(module)
end := time.Now().UnixMilli()
// Insert default color at the start of the module's text
text = colorMap[0] + text
// Show time taken
if ShowModuleTimeTaken {
fmt.Printf("Module '%s' took %d milliseconds\n", module.Name, end-start)