Skip to content

Commit

Permalink
Comments and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanello1908 committed Jul 27, 2024
1 parent 3e8f2ff commit bac65c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/color/color.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ var Aurora auroraLib.Aurora
func init() {
// HACK: Ideally, aurora would support NO_COLOR, but at least they give us a
// config option so that we can disable color manually.
//

//Check registry for enabled color printing(only for windows)
if runtime.GOOS == "windows" {
var key, err = registry.OpenKey(registry.CURRENT_USER, "Console", registry.QUERY_VALUE)
if err != nil {
Expand All @@ -55,7 +56,6 @@ func init() {
}
}
}
print("Enable color: ")
print(EnableColor)

Aurora = auroraLib.NewAurora(EnableColor)
}

0 comments on commit bac65c2

Please sign in to comment.