Documentation
¶
Overview ¶
Package terminal helps developers determine various attributes of the current terminal emulator in which they are running.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Colors ¶
type Colors struct {
// contains filtered or unexported fields
}
Colors has methods for number of colors supported by the current terminal emulator.
func (*Colors) HasMillions ¶
HasMillions is an alias for HasTrueColor.
func (*Colors) HasTrueColor ¶
HasTrueColor returns true if the terminal supports 24-bit color.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
termcolors
termcolors - displays various grids of colors depending on the terminal emulator's color support.
|
termcolors - displays various grids of colors depending on the terminal emulator's color support. |
Click to show internal directories.
Click to hide internal directories.