Module: Sai::Terminal::ColorMode Private
- Defined in:
- lib/sai/terminal/color_mode.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Represents different color support levels for terminal interfaces
Constant Summary collapse
- NO_COLOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The terminal does not support color output
0- BASIC =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The terminal supports 8 colors (3-bit)
1- ANSI =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The terminal supports 16 colors (4-bit)
2- ADVANCED =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The terminal supports 256 colors (8-bit)
3- TRUE_COLOR =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The terminal supports 16 million colors (24-bit)
4