parameters: (self, cli, ui_content)
return_statement: return get_cwidth(text)
docstring: Width to report to the `Window`.
docstring_summary: Width to report to the `Window`.
docstring_tokens: Width to report to the Window .
function: 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(text)
function_tokens: def get_width ( self , cli , ui_content ) : # Take the width from the first line. text = token_list_to_text ( self . get_prompt_tokens ( cli ) ) return get_cwidth ( text )