Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Blue = makeColorFunc("blue")
Blue outputs ANSI color if stdout is a tty
View Source
var Bold = makeColorFunc("default+b")
Bold outputs ANSI color if stdout is a tty
View Source
var Cyan = makeColorFunc("cyan")
Cyan outputs ANSI color if stdout is a tty
View Source
var Gray = makeColorFunc("black+h")
Gray outputs ANSI color if stdout is a tty
View Source
var Green = makeColorFunc("green")
Green outputs ANSI color if stdout is a tty
View Source
var Magenta = makeColorFunc("magenta")
Magenta outputs ANSI color if stdout is a tty
View Source
var Red = makeColorFunc("red")
Red outputs ANSI color if stdout is a tty
View Source
var Yellow = makeColorFunc("yellow")
Yellow outputs ANSI color if stdout is a tty
Functions ¶
func IsTerminal ¶
IsTerminal reports whether the file descriptor is connected to a terminal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.