Settings.getInstance().setEnablePipelineAndRedirectionParser(false);
//Settings.getInstance().setLogFile("aesh_example.log");
//Settings.getInstance().setHistoryDisabled(true);
//Settings.getInstance().setHistoryPersistent(false);
List<TerminalCharacter> chars = new ArrayList<TerminalCharacter>();
chars.add(new TerminalCharacter('[', Color.DEFAULT_BG, Color.BLUE_TEXT));
chars.add(new TerminalCharacter('t', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.ITALIC));
chars.add(new TerminalCharacter('e', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.INVERT));
chars.add(new TerminalCharacter('s', Color.DEFAULT_BG, Color.RED_TEXT,
CharacterType.CROSSED_OUT));
chars.add(new TerminalCharacter('t', Color.DEFAULT_BG ,Color.RED_TEXT,
CharacterType.BOLD));
chars.add(new TerminalCharacter(']', Color.DEFAULT_BG, Color.BLUE_TEXT,
CharacterType.PLAIN));
chars.add(new TerminalCharacter('$', Color.DEFAULT_BG, Color.WHITE_TEXT,
CharacterType.UNDERLINE));
chars.add(new TerminalCharacter(' ', Color.DEFAULT_BG, Color.WHITE_TEXT));
Prompt prompt = new Prompt(chars);
//String prompt = ANSI.redText()+"[test@foo]"+ANSI.reset()+"$ ";
//a simple interruptHook