namespace Terminal.Gui.App; public static partial class Application // Screen related stuff; intended to hide Driver details { /// [Obsolete ("The legacy static Application object is going away.")] public static Rectangle Screen { get => ApplicationImpl.Instance.Screen; set => ApplicationImpl.Instance.Screen = value; } /// [Obsolete ("The legacy static Application object is going away.")] public static event EventHandler>? ScreenChanged { add => ApplicationImpl.Instance.ScreenChanged += value; remove => ApplicationImpl.Instance.ScreenChanged -= value; } /// [Obsolete ("The legacy static Application object is going away.")] internal static bool ClearScreenNextIteration { get => ApplicationImpl.Instance.ClearScreenNextIteration; set => ApplicationImpl.Instance.ClearScreenNextIteration = value; } }