code: def console_get_height_rect(
      con: tcod.console.Console, x: int, y: int, w: int, h: int, fmt: str
  ) -> int:
      
      return int(
          lib.TCOD_console_get_height_rect_fmt(
              _console(con), x, y, w, h, _fmt(fmt)
          )
      )
docs: Return the height of this text once word-wrapped into this rectangle.
  
      Returns:
          int: The number of lines of text once word-wrapped.
  
      .. deprecated:: 8.5
          Use :any:`Console.get_height_rect` instead.