Table of Contents

Enum AnsiPlatform

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

Indicates which platform the driver is targeting.

public enum AnsiPlatform

Fields

Degraded = 0

Indicates the platform is disabled and all driver operations will be no-ops. Valid when running in test environments such as CI/CD workflow runners where there is no console available.

UnixRaw = 2

Represents the platform is Unix-like (MacOS, Linux, or FreeBSD) using raw Unix I/O apis.

WindowsVT = 1

Indicates the platform is Windows and Virtual Terminal Sequences is enabled. The driver will use low-level kernel32 I/O apis.