supports_ansi_color library

Platform-adaptive ANSI color support detection and global configuration.

Exports ansiColorDisabled, ansiColorLevel, and the AnsiColorLevel enum for querying and overriding terminal color capabilities.

Enums

AnsiColorLevel
Terminal color capability levels, ordered from least to most capable.

Properties

ansiColorDisabled bool
Globally enable or disable AnsiPen settings.
getter/setter pair
ansiColorLevel AnsiColorLevel
The detected (or overridden) ANSI color capability level.
getter/setter pair