resize
Resizes core and the active connector, then requests a new published frame.
Return
A Pair of (newScrollbackOffset, newHistorySize) that the UI should apply to re-anchor the viewport to the same logical content after reflow.
Parameters
columns
target terminal column width.
rows
target terminal row height.
oldScrollbackOffset
The scrollback offset that was active in the UI before this resize. Pass 0 if the viewport was at the live screen (no scrollback).
See also
for an atomic history baseline including discarded rows.