#nullable enable
namespace Terminal.Gui.App;
public static partial class Application // Screen related stuff; intended to hide Driver details
{
///
public static Rectangle Screen
{
get => ApplicationImpl.Instance.Screen;
set => ApplicationImpl.Instance.Screen = value;
}
///
public static event EventHandler>? ScreenChanged
{
add => ApplicationImpl.Instance.ScreenChanged += value;
remove => ApplicationImpl.Instance.ScreenChanged -= value;
}
///
internal static bool ClearScreenNextIteration
{
get => ApplicationImpl.Instance.ClearScreenNextIteration;
set => ApplicationImpl.Instance.ClearScreenNextIteration = value;
}
}