Versions in this module Expand all Collapse all v1 v1.0.0 Jan 13, 2017 Changes in this version + const Reset + func Apply(s string, ansi ...ANSI) string + type ANSI interface + Apply func(string) string + With func(...ANSI) ANSI + var BlackB ANSI + var BlackF ANSI + var BlinkRapid ANSI + var BlinkSlow ANSI + var BlueB ANSI + var BlueF ANSI + var Bold ANSI + var Conceal ANSI + var CrossOut ANSI + var CyanB ANSI + var CyanF ANSI + var DefaultB ANSI + var DefaultF ANSI + var Encircle ANSI + var EraseModes struct{ ... } + var Faint ANSI + var Frame ANSI + var GreenB ANSI + var GreenF ANSI + var Hide ANSI + var Inverse ANSI + var Italic ANSI + var LightBlackB ANSI + var LightBlackF ANSI + var LightBlueB ANSI + var LightBlueF ANSI + var LightCyanB ANSI + var LightCyanF ANSI + var LightGreenB ANSI + var LightGreenF ANSI + var LightMagentaB ANSI + var LightMagentaF ANSI + var LightRedB ANSI + var LightRedF ANSI + var LightWhiteB ANSI + var LightWhiteF ANSI + var LightYellowB ANSI + var LightYellowF ANSI + var MagentaB ANSI + var MagentaF ANSI + var Overline ANSI + var RedB ANSI + var RedF ANSI + var Report ANSI + var Restore ANSI + var Save ANSI + var Show ANSI + var Underline ANSI + var WhiteB ANSI + var WhiteF ANSI + var YellowB ANSI + var YellowF ANSI + func Color3BitB(c RGB3Bit) ANSI + func Color3BitF(c RGB3Bit) ANSI + func Color8BitB(c RGB8Bit) ANSI + func Color8BitF(c RGB8Bit) ANSI + func Column(col uint) ANSI + func Down(n uint) ANSI + func EraseDisplay(m EraseMode) ANSI + func EraseLine(m EraseMode) ANSI + func FullColorB(r, g, b uint8) ANSI + func FullColorF(r, g, b uint8) ANSI + func Left(n uint) ANSI + func NextLine(n uint) ANSI + func Position(row, col uint) ANSI + func PreviousLine(n uint) ANSI + func Right(n uint) ANSI + func ScrollDown(n int) ANSI + func ScrollUp(n int) ANSI + func Up(n uint) ANSI + type Builder struct + ANSI ANSI + var EmptyBuilder *Builder + func NewBuilder(a ...ANSI) *Builder + func (builder *Builder) BlackB() *Builder + func (builder *Builder) BlackF() *Builder + func (builder *Builder) BlinkRapid() *Builder + func (builder *Builder) BlinkSlow() *Builder + func (builder *Builder) BlueB() *Builder + func (builder *Builder) BlueF() *Builder + func (builder *Builder) Bold() *Builder + func (builder *Builder) Color3BitB(c RGB3Bit) *Builder + func (builder *Builder) Color3BitF(c RGB3Bit) *Builder + func (builder *Builder) Color8BitB(c RGB8Bit) *Builder + func (builder *Builder) Color8BitF(c RGB8Bit) *Builder + func (builder *Builder) Column(col uint) *Builder + func (builder *Builder) Conceal() *Builder + func (builder *Builder) CrossOut() *Builder + func (builder *Builder) CyanB() *Builder + func (builder *Builder) CyanF() *Builder + func (builder *Builder) DefaultB() *Builder + func (builder *Builder) DefaultF() *Builder + func (builder *Builder) Down(n uint) *Builder + func (builder *Builder) Encircle() *Builder + func (builder *Builder) EraseDisplay(m EraseMode) *Builder + func (builder *Builder) EraseLine(m EraseMode) *Builder + func (builder *Builder) Faint() *Builder + func (builder *Builder) Frame() *Builder + func (builder *Builder) FullColorB(r, g, b uint8) *Builder + func (builder *Builder) FullColorF(r, g, b uint8) *Builder + func (builder *Builder) GreenB() *Builder + func (builder *Builder) GreenF() *Builder + func (builder *Builder) Hide() *Builder + func (builder *Builder) Inverse() *Builder + func (builder *Builder) Italic() *Builder + func (builder *Builder) Left(n uint) *Builder + func (builder *Builder) LightBlackB() *Builder + func (builder *Builder) LightBlackF() *Builder + func (builder *Builder) LightBlueB() *Builder + func (builder *Builder) LightBlueF() *Builder + func (builder *Builder) LightCyanB() *Builder + func (builder *Builder) LightCyanF() *Builder + func (builder *Builder) LightGreenB() *Builder + func (builder *Builder) LightGreenF() *Builder + func (builder *Builder) LightMagentaB() *Builder + func (builder *Builder) LightMagentaF() *Builder + func (builder *Builder) LightRedB() *Builder + func (builder *Builder) LightRedF() *Builder + func (builder *Builder) LightWhiteB() *Builder + func (builder *Builder) LightWhiteF() *Builder + func (builder *Builder) LightYellowB() *Builder + func (builder *Builder) LightYellowF() *Builder + func (builder *Builder) MagentaB() *Builder + func (builder *Builder) MagentaF() *Builder + func (builder *Builder) NextLine(n uint) *Builder + func (builder *Builder) Overline() *Builder + func (builder *Builder) Position(row, col uint) *Builder + func (builder *Builder) PreviousLine(n uint) *Builder + func (builder *Builder) RGB3BitB(r, g, b uint8) *Builder + func (builder *Builder) RGB3BitF(r, g, b uint8) *Builder + func (builder *Builder) RGB8BitB(r, g, b uint8) *Builder + func (builder *Builder) RGB8BitF(r, g, b uint8) *Builder + func (builder *Builder) RedB() *Builder + func (builder *Builder) RedF() *Builder + func (builder *Builder) Report() *Builder + func (builder *Builder) Restore() *Builder + func (builder *Builder) Right(n uint) *Builder + func (builder *Builder) Save() *Builder + func (builder *Builder) ScrollDown(n int) *Builder + func (builder *Builder) ScrollUp(n int) *Builder + func (builder *Builder) Show() *Builder + func (builder *Builder) Underline() *Builder + func (builder *Builder) Up(n uint) *Builder + func (builder *Builder) WhiteB() *Builder + func (builder *Builder) WhiteF() *Builder + func (builder *Builder) With(a ...ANSI) *Builder + func (builder *Builder) YellowB() *Builder + func (builder *Builder) YellowF() *Builder + type EraseMode uint + type RGB3Bit uint8 + func NewRGB3Bit(r, g, b uint8) RGB3Bit + type RGB8Bit uint8 + func NewRGB8Bit(r, g, b uint8) RGB8Bit