github.com/undoio/delve@v1.9.0/pkg/terminal/terminal_other.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package terminal
     5  
     6  import (
     7  	"io"
     8  	"os"
     9  )
    10  
    11  // getColorableWriter simply returns stdout on
    12  // *nix machines.
    13  func getColorableWriter() io.Writer {
    14  	return os.Stdout
    15  }