Fired only from _flushPendingResize, after the engine reflow and mirror snapshot complete. Host wires this to PtyBackend.resize.
_flushPendingResize
PtyBackend.resize
void Function(int columns, int rows)? onPtyResize;