Skip to content

Commit 7bd5734

Browse files
committed
change colour algo
1 parent 4e7c228 commit 7bd5734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func getColor(name string) colorful.Color {
145145
h := fnv.New64()
146146
h.Write([]byte(name))
147147
r := rand.New(rand.NewSource(int64(h.Sum64())))
148-
return colorful.HappyColorWithRand(r)
148+
return colorful.FastHappyColorWithRand(r)
149149
}
150150

151151
func setTerminalColors(c colorful.Color, enableTint bool) {

0 commit comments

Comments
 (0)