code: def get_width(self, cli, ui_content):
          " Width to report to the `Window`. "
          # Take the width from the first line.
          text = token_list_to_text(self.get_prompt_tokens(cli))
          return get_cwidth(textf get_width(self, cli, ui_content):
          " Width to report to the `Window`. "
          # Take the width from the first line.
          text = token_list_to_text(self.get_prompt_tokens(cli))
          return get_cwidth(text)
docs: Width to report to the `Window`.