Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RGBABlack = RGBA{0, 0, 0, 255} RGBARed = RGBA{255, 0, 0, 255} RGBAGreen = RGBA{0, 255, 0, 255} RGBAYellow = RGBA{255, 255, 0, 255} RGBABlue = RGBA{0, 0, 255, 255} RGBAMagenta = RGBA{255, 0, 255, 255} RGBACyan = RGBA{0, 255, 255, 255} RGBALightGray = RGBA{211, 211, 211, 255} RGBADarkGray = RGBA{169, 169, 169, 255} RGBALightRed = RGBA{255, 144, 144, 255} RGBALightGreen = RGBA{144, 238, 144, 255} RGBALightYellow = RGBA{255, 255, 224, 255} RGBALightBlue = RGBA{173, 216, 230, 255} RGBALightMagenta = RGBA{255, 224, 255, 255} RGBALightCyan = RGBA{224, 255, 255, 255} RGBAWhite = RGBA{255, 255, 255, 255} StringMap = map[string]RGBA{ "black": RGBABlack, "red": RGBARed, "green": RGBAGreen, "yellow": RGBAYellow, "blue": RGBABlue, "magenta": RGBAMagenta, "cyan": RGBACyan, "white": RGBAWhite, } // \x1b[NNm とかの NN に紐づくRGBA色 // 例: \x1b[30m ANSIMap = map[int]RGBA{ 30: RGBABlack, 31: RGBARed, 32: RGBAGreen, 33: RGBAYellow, 34: RGBABlue, 35: RGBAMagenta, 36: RGBACyan, 37: RGBALightGray, 90: RGBADarkGray, 91: RGBALightRed, 92: RGBALightGreen, 93: RGBALightYellow, 94: RGBALightBlue, 95: RGBALightMagenta, 96: RGBALightCyan, 97: RGBAWhite, 40: RGBABlack, 41: RGBARed, 42: RGBAGreen, 43: RGBAYellow, 44: RGBABlue, 45: RGBAMagenta, 46: RGBACyan, 47: RGBALightGray, 100: RGBADarkGray, 101: RGBALightRed, 102: RGBALightGreen, 103: RGBALightYellow, 104: RGBALightBlue, 105: RGBALightMagenta, 106: RGBALightCyan, 107: RGBAWhite, } // \x1b[38;5;NNNm とかの NNN に紐づくRGBA色 // 例: \x1b[38;5;114m Map256 = map[int]RGBA{}/* 256 elements not displayed */ )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.