Platform-specific integration callbacks.
Called when the window gains or loses focus. Only invoked on Windows.
Currently unused.
If Tty.enableWindowResizeEvents was invoked, this is called when the window is resized.