docs: def start(self):
          """
          Start trapping WINCH signals and resizing the PTY.
  
          This method saves the previous WINCH handler so it can be restored on
          `stop()`.
          """
  
          def handle(signum, frame):
              if signum == signal.SIGWINCH:
                  self.pty.resize()
  
          self.original_handler = signal.signal(signal.SIGWINCH, handle)