Capabilities Class
Represents console capabilities.
public sealed class Capabilities : IReadOnlyCapabilities
- Namespace
- Spectre
.Console - Interfaces
Properties
- bool AlternateBuffer
- Gets or sets a value indicating whether or not the console supports alternate buffers.
- bool Ansi
- Gets or sets a value indicating whether or not the console supports VT/ANSI control codes.
- ColorSystem ColorSystem
- Gets or sets the color system.
- bool Interactive
- Gets or sets a value indicating whether or not the console supports interaction.
- bool IsTerminal
- Gets a value indicating whether or not the output is a terminal.
- bool Legacy
- Gets or sets a value indicating whether or not this is a legacy console (cmd.exe) on an OS prior to Windows 10.
- bool Links
- Gets or sets a value indicating whether or not the console support links.
- bool Unicode
- Gets or sets a value indicating whether or not the console supports Unicode.