Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportColor ¶
func IsSupportColor() bool
IsSupportColor check current console is support color.
Supported:
linux, mac, or windows's ConEmu, Cmder, putty, git-bash.exe
Not support:
windows cmd.exe, powerShell.exe
func IsSupportTrueColor ¶
func IsSupportTrueColor() bool
IsSupportTrueColor render. IsSupportRGBColor
func IsTerminal ¶
func IsWSL ¶
func IsWSL() bool
IsWSL returns true if the current environment is WSL https://github.com/Microsoft/WSL/issues/423#issuecomment-221627364
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.