//Settings.getInstance().setPersistAlias(true);
//Settings.getInstance().enableOperatorParser(false);
//Settings.getInstance().setHistoryDisabled(true);
//Settings.getInstance().setHistoryPersistent(false);
List<TerminalCharacter> chars = new ArrayList<TerminalCharacter>();
chars.add(new TerminalCharacter('[', new TerminalColor(Color.BLUE, Color.DEFAULT)));
chars.add(new TerminalCharacter('t', new TerminalColor(Color.RED, Color.DEFAULT),
CharacterType.ITALIC));
chars.add(new TerminalCharacter('e', new TerminalColor(Color.RED, Color.DEFAULT),
CharacterType.INVERT));
chars.add(new TerminalCharacter('s', new TerminalColor(Color.RED, Color.DEFAULT),
CharacterType.CROSSED_OUT));
chars.add(new TerminalCharacter('t', new TerminalColor(Color.RED ,Color.DEFAULT),
CharacterType.BOLD));
chars.add(new TerminalCharacter(']', new TerminalColor(Color.BLUE, Color.DEFAULT),
CharacterType.FAINT));
chars.add(new TerminalCharacter('$', new TerminalColor(Color.GREEN, Color.DEFAULT),
CharacterType.UNDERLINE));
chars.add(new TerminalCharacter(' ', new TerminalColor(Color.DEFAULT, Color.DEFAULT)));
final Prompt prompt = new Prompt(chars);
//String prompt = ANSI.redText()+"[test@foo]"+ANSI.reset()+"$ ";
//a simple interruptHook