code: def _default_terminal_width():
      width = terminal_width()
      return max(min(width, 78), 40)
  
imports: import functools
  import logging
  import os
  import sys
  import shutil
  import typing
  import click
  from guild import ansi_util
  from guild import config
label_desc: Use image node_id 5 for calling a global function with example usage: _default_terminal_width() and returns: max