resize abstract method

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

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

Implementation

void resize(
    int newWidth, int newHeight, int newPixelWidth, int newPixelHeight);