mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-06 20:06:28 +03:00
Hopefully fix colour output on Windows
This commit is contained in:
@@ -37,7 +37,7 @@ func (i *peerAddrList) Set(value string) error {
|
||||
}
|
||||
|
||||
func main() {
|
||||
rawlog := log.New(os.Stdout, "", 0)
|
||||
rawlog := log.New(color.Output, "", 0)
|
||||
green := color.New(color.FgGreen).SprintfFunc()
|
||||
log := log.New(rawlog.Writer(), fmt.Sprintf("[ %s ] ", green("Yggmail")), 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user