resize

fun resize(columns: Int, rows: Int, oldScrollbackOffset: Int = 0): Pair<Int, Int>

Resizes core, publisher, and the active connector.

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).