Filament::Util::Ansi
Constants
BLACK = "\e[30m"
Foreground colors
BLUE = "\e[34m"
BOLD = "\e[1m"
BRIGHT_BLACK = "\e[90m"
Bright foreground colors
BRIGHT_BLUE = "\e[94m"
BRIGHT_CYAN = "\e[96m"
BRIGHT_GREEN = "\e[92m"
BRIGHT_MAGENTA = "\e[95m"
BRIGHT_RED = "\e[91m"
BRIGHT_WHITE = "\e[97m"
BRIGHT_YELLOW = "\e[93m"
CYAN = "\e[36m"
DIM = "\e[2m"
GREEN = "\e[32m"
MAGENTA = "\e[35m"
RED = "\e[31m"
RESET = "\e[0m"
UNDERLINE = "\e[4m"
WHITE = "\e[37m"
YELLOW = "\e[33m"
Class methods
colorize_protocol(proto : Dissect::Protocol, text : String) : String
Returns colorized string matching protocol palette
strip(text : String) : String
Strips ANSI escape sequences from text for clean length calculation