compositeProcessor.addEventProcessor(new BasicProcessor(termState));
compositeProcessor.addEventProcessor(new DelProcessor(termState));
compositeProcessor.addEventProcessor(new LeftRightProcessor(termState));
compositeProcessor.addEventProcessor(new HomeEndProcessor(termState));
addCmdProcessor("exit", new CommandProcessor() {
@Override
public void onCommand(String cmd, String... cmdArgs) {
if ( stage != null ) {
Platform.exit();
}