code: def console_get_width(con: tcod.console.Console) -> int:
      
      return int(lib.TCOD_console_get_width(_console(con)))
docs: Return the width of a console.
  
      Args:
          con (Console): Any Console instance.
  
      Returns:
          int: The width of a Console.
  
      .. deprecated:: 2.0
          Use `Console.width` instead.