func()

in pkg/text/colortabwriter.go [139:149]


func (c *ColorTabWriter) append(ch byte) {
	if len(c.contents) == 0 {
		c.newLine()
	}
	lastLine := len(c.contents) - 1
	if len(c.contents[lastLine]) == 0 {
		c.newCell()
	}
	lastCell := len(c.contents[lastLine]) - 1
	c.contents[lastLine][lastCell] = append(c.contents[lastLine][lastCell], ch)
}