didnt implement windows correctly

This commit is contained in:
Bryson Steck 2025-06-29 15:50:09 -06:00
parent c5453844f8
commit ce5d25c676
Signed by: bryson
SSH key fingerprint: SHA256:XpKABw/nP4z8UVaH+weLaBnEOD86+cVwif+QjuYLGT4

View file

@ -30,10 +30,10 @@ type Listen struct {
}
func printStatus(msg string) {
c := color.New(color.FgWhite)
if runtime.GOOS == "windows" {
c.Fprintf(color.Output, "%s", msg)
fmt.Fprintf(color.Output, "%s", color.WhiteString(msg))
} else {
c := color.New(color.FgWhite)
c.Fprintf(os.Stderr, "%s", msg)
}
}