code: def line_width(default_width=DEFAULT_LINE_WIDTH, max_width=MAX_LINE_WIDTH):
      
      width = term_width()
      if width:  # pragma: no cover (no terminal info in Travis CI)
          return min(width, max_width)
      else:
          return default_width
docs: Return the ideal column width for the output from :func:`see.see`, taking
      the terminal width into account to avoid wrapping.