ColorSupport

public enum ColorSupport

Enumeration describing the kind of colors available to the application that range from black and white to a complete user-settable palette of colors

  • The terminal only supports black and white - generally, they are expected to at least have the VT100 capabilities: bold, italics, inverse, blink

    Declaration

    Swift

    case blackAndWhite
  • The terminal supports 16 colors, usually the top 8 are bright colors

    Declaration

    Swift

    case sixteenColors
  • The terminal can configure colors based on R, G, B values

    Declaration

    Swift

    case rgbColors