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