VirtualTerminal Class

Provides helper methods for console Virtual Terminal sequences.

Definition

Namespace: Ookii.CommandLine.Terminal
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public static class VirtualTerminal
Inheritance
Object    VirtualTerminal

Remarks

Virtual terminal sequences are used to add color to various aspects of the usage help, if enabled by the UsageWriter class.

Methods

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.

Fields

Escape The escape character that begins all Virtual Terminal sequences.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also