Class ColorSupport

java.lang.Object
org.jline.terminal.impl.ColorSupport

public class ColorSupport extends Object
Parses OSC 10/11 color query responses from the terminal.

Terminals that support OSC color queries respond with an escape sequence containing the current foreground (OSC 10) or background (OSC 11) color as an rgb:RRRR/GGGG/BBBB value. This class reads and decodes those responses into a packed 24-bit RGB integer.