VirtualTerminalSupport Class

Handles the lifetime of virtual terminal support.

Definition

Namespace: Ookii.CommandLine.Terminal
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public sealed class VirtualTerminalSupport : IDisposable
Inheritance
Object    VirtualTerminalSupport
Implements
IDisposable

Remarks

On Windows, this restores the terminal mode to its previous value when disposed or destructed. On other platforms, this does nothing.

Properties

IsSupported Gets a value that indicates whether virtual terminal sequences are supported.

Methods

Dispose Cleans up resources for the VirtualTerminalSupport class.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Cleans up resources for the VirtualTerminalSupport class.
(Overrides ObjectFinalize)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

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