package terminal; import static terminal.ControlSequenceHandler.Command.SGR; class ControlSequenceHandler { public static final boolean isEscape(char c) { return c == '\u001B'; } private boolean inControlSequence; private int code; private Command command; public ControlSequenceHandler() { // TODO Auto-generated constructor stub this.inControlSequence = false; this.code = 0; this.command = SGR; } public static enum Command { SGR } }