code: def terminal_size_changed(
      self, width: int, height: int, pixwidth: object, pixheight: object
  ) -> None:
      # Send resize event to the current application.
      if self.app_session and self.app_session.app:
          self.app_session.app._on_resize()
  
imports: from __future__ import annotations
  import asyncio
  import traceback
  from asyncio import get_running_loop
  from typing import Any, Callable, Coroutine, TextIO, cast
  import asyncssh
  from prompt_toolkit.application.current import AppSession, create_app_session
  from prompt_toolkit.data_structures import Size
  from prompt_toolkit.input import PipeInput, create_pipe_input
  from prompt_toolkit.output.vt100 import Vt100_Output
label_desc: Use image node_id 6 for calling the PromptToolkitSSHSession obj's underlying member method code with example usage: obj.terminal_size_changed(width, height, pixwidth, pixheight) without return types