Table of Contents

Event ScreenChanged

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Raised when the terminal's size changed. The new size of the terminal is provided.

[Obsolete("The legacy static Application object is going away.")]
public static event EventHandler<EventArgs<Rectangle>>? ScreenChanged

Returns

EventHandler<EventArgs<Rectangle>>
Raised when the terminal's size changed. The new size of the terminal is provided.

Remarks

This event is raised when the driver detects a screen size change. The event provides the new screen rectangle.