code: func ANSIWriter(writer io.Writer) io.Writer {
  	return &ansi{
  		Writer:          writer,
  		buffer:          new(bytes.Buffer),
  		csiParameter:    new(bytes.Buffer),
  		csiIntermediate: new(bytes.Buffer),
  		state:           ansiText,
  	}
  }
docs: // ANSIWriter returns an io.Writer which translates any ANSI escape codes
  // written to it into tview color tags. Other escape codes don't have an effect
  // and are simply removed. The translated text is written to the provided
  // writer.