Versions in this module Expand all Collapse all v0 v0.5.3 Apr 5, 2022 Changes in this version + const CIX_BG + const CIX_FG + const CIX_MAX + const DEFAULT_BG + const DEFAULT_FG + var OrigDark = []OC + var OrigLight = []OC + func IaEqual(A, B []int) bool + func IsBtween(v, lo, hi int) bool + func TranslateColors(sSGR []int, bIntense bool) []int type GridRow + func (R GridRow) ClearRow() + type OC struct + Hex string + Xterm256 int type SGR + Color [CIX_MAX][]int + func (pS *SGR) GetColor(CIX int, bXterm256 bool) (RET []int) type UTF8Marshaller + FakeEsc bool + Translate2Xterm256 bool v0.5.2 Mar 31, 2022 v0.5.1 Mar 31, 2022 Changes in this version + const CHR_CR + const CHR_ESCAPE + const CHR_LF + const SGR_BLNK_FAST + const SGR_BLNK_SLOW + const SGR_BOLD + const SGR_CONCEAL + const SGR_FAINT + const SGR_INVERSE + const SGR_ITALIC + const SGR_STRIKETHROUGH + const SGR_TERMINATORS + const SGR_UNDERLINE + var Array437 [256]rune = [256]rune + func CSI_Params(pC *EscCode) bool + func HighColor(arCodes []int) (string, int) + func VF_Ignore(pC *EscCode) bool + func VF_NonCSI(pC *EscCode) bool + func VF_SGR(pC *EscCode) bool + type DebugFunc func(...interface{}) (int, error) + type EscCode struct + Code rune + Params string + SubParams []int + func (pC *EscCode) Debug() string + func (pC *EscCode) Reset() + func (pC *EscCode) String() string + func (pC *EscCode) Validate() bool + type Grid struct + func NewGrid(nWidth uint) (G Grid, E error) + func (gr *Grid) ClearFromPosToBegin(pos GridPos) + func (gr *Grid) ClearFromPosToEnd(pos GridPos) + func (gr *Grid) ClearLine(pos GridPos, bToBegin bool) + func (gr *Grid) Height() int + func (gr *Grid) Inc(pos *GridPos, nAmt int) + func (gr *Grid) IncClamp(pos *GridPos, X, Y int) + func (gr *Grid) Print(iWri io.Writer, nRowBytes int, bDebug bool) + func (gr *Grid) Put(pos GridPos, rChar rune, sgrCodes SGR) error + func (gr *Grid) ResetChars(rChar rune) + func (gr *Grid) Touch(nHeight int) + type GridCell struct + Brush SGR + Char rune + func (gc *GridCell) ClearCell() + type GridPos struct + X int + Y int + func NewPos() GridPos + func (pos *GridPos) Denorm() (X, Y int) + type GridRow []GridCell + type SGR struct + ColorBg string + ColorTxt string + Flags uint32 + func (pS *SGR) Fclr(f uint32) + func (pS *SGR) Fset(f uint32) + func (pS *SGR) IsEqual(pCodePrev *SGR) bool + func (pS *SGR) MergeCodes(biCodes []int) error + func (pS *SGR) Reset() + func (pS *SGR) ToEsc(bFakeEscape bool) string + type UTF8Marshaller struct + Debug DebugFunc + MaxBytes uint + Width uint + Writer io.Writer + func (M UTF8Marshaller) Encode(rdAnsi io.Reader) (E error) + type ValidateFunc func(pCode *EscCode) bool v0.4.0 Dec 28, 2021