Expand description
Wire method: localPty:resize.
Forwards a resize event to the PTY master (SIGWINCH) via
TerminalProvider::ResizeTerminal. Accepts either positional
[id, cols, rows] or object { id, cols, rows } from the workbench.
Clamps cols/rows to ≥ 1 - portable-pty crashes the IO thread with “size out of range” on 0×0, which the workbench can emit during pane drag-storms before the requestAnimationFrame settle.