resize method

  1. @override
void resize(
  1. int newWidth,
  2. int newHeight,
  3. int newPixelWidth,
  4. int newPixelHeight,
)
override

notifies the Terminal about a resize that happened. The Terminal will do any resize / reflow logic and notify the backend about the resize

Implementation

@override
void resize(
    int newWidth, int newHeight, int newPixelWidth, int newPixelHeight) {
  _sendPort?.send([
    _IsolateCommand.resize,
    newWidth,
    newHeight,
    newPixelWidth,
    newPixelHeight
  ]);
}