namespace Spectre.Console;
///
/// A console capable of writing ANSI escape sequences.
///
public static partial class AnsiConsole
{
///
/// Switches to an alternate screen buffer if the terminal supports it.
///
/// The action to execute within the alternate screen buffer.
public static void AlternateScreen(Action action)
{
Console.AlternateScreen(action);
}
}