github.com/khulnasoft-lab/gopkg@v0.0.0-20240121181808-81b44d894093/msg/out_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package msg
     5  
     6  // The color codes here are for compatibility with how Colors are used. Windows
     7  // colors have not been implemented yet. See https://github.com/Khulnasoft-lab/gopkg/issues/158
     8  // for more detail.
     9  const (
    10  	Blue   = ""
    11  	Red    = ""
    12  	Green  = ""
    13  	Yellow = ""
    14  	Cyan   = ""
    15  	Pink   = ""
    16  )
    17  
    18  // Color on windows returns no color. See
    19  // https://github.com/Khulnasoft-lab/gopkg/issues/158 if you want to help.
    20  func (m *Messenger) Color(code, msg string) string {
    21  	return msg
    22  }