using System.Collections.Concurrent;
namespace Terminal.Gui.App;
public static partial class Application // Toplevel handling
{
///
public static ConcurrentStack SessionStack => ApplicationImpl.Instance.SessionStack;
/// The that is currently active.
/// The current toplevel.
public static Toplevel? Current
{
get => ApplicationImpl.Instance.Current;
internal set => ApplicationImpl.Instance.Current = value;
}
}