return new TermPoint(chX, chY);
}
private void handleKeyEvent(KeyEvent keyEvent) {
if ( keyEvent.getCode() == KeyCode.ENTER ) {
eventProcessor.onTerminalEvent(new NewLineEvent());
} else if ( keyEvent.isControlDown() ) {
eventProcessor.onTerminalEvent(
KeyboardEvent.builder(keyEvent.getCode())
.ctrlDown(keyEvent.isControlDown())
.shiftDown(keyEvent.isShiftDown())