AlternateScreen(IAnsiConsole, Action) Method
Switches to an alternate screen buffer if the terminal supports it.
public static void AlternateScreen(this IAnsiConsole console, Action action)
- Namespace
- Spectre
.Console - Containing Type
- Ansi
Console Extensions
Parameters
- IAnsiConsole console
- The console.
- Action action
- The action to execute within the alternate screen buffer.