onResize property

void Function(int width, int height, int pixelWidth, int pixelHeight)? onResize
getter/setter pair

Function that is called when the dimensions of the terminal change.

resize passes its own arguments, as in xterm. When a TerminalView resizes the terminal, pixelWidth and pixelHeight are the cell size in logical pixels, rounded, as xterm's view reports them.

Implementation

void Function(int width, int height, int pixelWidth, int pixelHeight)?
onResize;