resize method

  1. @override
void resize({
  1. required int cols,
  2. required int rows,
})
override

Resizes the terminal, where the backend supports it (no-op otherwise).

Implementation

@override
void resize({required int cols, required int rows}) {
  // No-op: `script` started from pipes has no controlling terminal whose
  // SIGWINCH it could follow, and the node cannot reach the child's tty to
  // update its window size. Live resize requires the native PTY backend.
}