code: func TranslateANSI(text string) string {
  	var buffer bytes.Buffer
  	writer := ANSIWriter(&buffer)
  	writer.Write([]byte(text))
  	return buffer.String()
  }
docs: // TranslateANSI replaces ANSI escape sequences found in the provided string
  // with tview's color tags and returns the resulting string.