mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-15 23:46:12 +00:00
Insert default color at the start of each module's text
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user