onViewportResize property

void Function(int columns, int rows)? onViewportResize
final

Fired after engine is resized to match the view's cell grid (font zoom or layout). Hosts should resize the PTY to the same (columns, rows).

Implementation

final void Function(int columns, int rows)? onViewportResize;