code: func TaggedStringWidth(text string) int {
  	_, _, _, _, _, _, width := decomposeString(text, true, false)
  	return width
  }
docs: // TaggedStringWidth returns the width of the given string needed to print it on
  // screen. The text may contain color tags which are not counted.