github.com/msoap/go-carpet@v1.10.1-0.20240316220419-b690da179708/terminal_windows.go (about) 1 package main 2 3 import ( 4 "io" 5 6 "github.com/mattn/go-colorable" 7 ) 8 9 func getColorWriter() io.Writer { 10 return colorable.NewColorableStdout() 11 }