code: def display_len(text):
      
      text = unicodedata.normalize('NFD', text)
      return sum(char_width(char) for char in text)
docs: Get the display length of a string. This can differ from the character
      length if the string contains wide characters.