VirtualTerminal Class
Provides helper methods for console Virtual Terminal sequences.
Namespace: Ookii.CommandLine.TerminalAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public static class VirtualTerminal
Public NotInheritable Class VirtualTerminal
You do not need to declare an instance of a static class in order to access its members.
public ref class VirtualTerminal abstract sealed
- Inheritance
- Object VirtualTerminal
Virtual terminal sequences are used to add color to various aspects of the usage help,
if enabled by the UsageWriter class.
EnableColor |
Enables color support using virtual terminal sequences for the console attached to the
specified stream.
|
EnableVirtualTerminalSequences |
Enables virtual terminal sequences for the console attached to the specified stream.
|
WriteLineErrorFormatted |
Writes a line to the standard error stream which, if virtual terminal sequences are
supported, will use the specified formatting.
|
WriteLineFormatted |
Writes a line to the standard output stream which, if virtual terminal sequences are
supported, will use the specified formatting.
|
Escape |
The escape character that begins all Virtual Terminal sequences.
|
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.