docstr: Return an estimate of the width so far in the current line.
docstr_tok: ["Return","an","estimate","of","the","width","so","far","in","the","current","line","."]
code: def width_of_current_line(self) -> int:
      """Return an estimate of the width so far in the current line."""
      return wcswidth(self._current_line)
  
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 4 for calling the TerminalWriter obj's underlying member method code with example usage: obj.width_of_current_line() and returns: wcswidth