code: def fullwidth(self) -> int:
      if self._terminal_width is not None:
          return self._terminal_width
      return get_terminal_width()
  
imports: import os
  import shutil
  import sys
  from typing import Optional
  from typing import Sequence
  from typing import TextIO
  from .wcwidth import wcswidth
  from _pytest.compat import final
label_desc: Use image node_id 2 for calling the TerminalWriter obj's underlying member method code with example usage: obj.fullwidth() and returns: get_terminal_width, self