Function that is called when the dimensions of the terminal change.
void Function(int width, int height, int pixelWidth, int pixelHeight)? onResize;