namespace Terminal.Gui.Drivers; /// /// Interface for classes responsible for reporting the current /// size of the terminal window. /// public interface ISizeMonitor { /// Invoked when the terminal's size changed. The new size of the terminal is provided. event EventHandler? SizeChanged; /// /// Examines the current size of the terminal and raises if it is different /// from last inspection. /// /// if the size has changed; otherwise, . bool Poll (); }