resize abstract method
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);