namespace Spectre.Console;
///
/// Settings used when building a .
///
public sealed class AnsiConsoleSettings
{
///
/// Gets or sets a value indicating whether or
/// not ANSI escape sequences are supported.
///
public AnsiSupport Ansi { get; set; }
///
/// Gets or sets the color system to use.
///
public ColorSystemSupport ColorSystem { get; set; } = ColorSystemSupport.Detect;
///
/// Gets or sets the out buffer.
///
public IAnsiConsoleOutput? Out { get; set; }
///
/// Gets or sets a value indicating whether or not the
/// terminal is interactive or not.
///
public InteractionSupport Interactive { get; set; }
///
/// Gets or sets the exclusivity mode.
///
public IExclusivityMode? ExclusivityMode { get; set; }
///
/// Gets or sets the profile enrichments settings.
///
public ProfileEnrichment Enrichment { get; set; }
///
/// Gets or sets the environment variables.
/// If not value is provided the default environment variables will be used.
///
public Dictionary? EnvironmentVariables { get; set; }
///
/// Initializes a new instance of the class.
///
public AnsiConsoleSettings()
{
Enrichment = new ProfileEnrichment();
}
}