Documentation
¶
Overview ¶
Package terminal provides the functions and constants required for 256 color terminal output and the conversion of color.Color structs to ColorCode
Index ¶
Constants ¶
View Source
const ( // Reset terminal colors Reset = "\033[0m" // Clear terminal Clear = "\033[2J" // Move the cursor to 0,0 Origin = "\033[0;0H" )
Variables ¶
View Source
var ( // ColorMap - Maps 256 color terminal codes to color.RGBA ColorMap = map[ColorCode]color.RGBA{}/* 240 elements not displayed */ TermPalette, ColorLookup = createTermPalette() //nolint:golint,golint )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.