docs: def console_from_xp(filename: str) -> tcod.console.Console:
      """Return a single console from a REXPaint `.xp` file."""
      return tcod.console.Console._from_cdata(
          lib.TCOD_console_from_xp(filename.encode("utf-8"))
      )