enum

Term2::ColorProfile

Inherits Enum < Comparable < Value < Object

ColorProfile specifies the terminal's color capabilities.

Constants

ASCII = 0
ANSI = 1
ANSI256 = 2
TrueColor = 3

Instance methods

ansi256?

Returns true if this enum value equals ANSI256

Source
ansi?

Returns true if this enum value equals ANSI

Source
ascii?

Returns true if this enum value equals ASCII

Source
true_color?

Returns true if this enum value equals TrueColor

Source