char () { if (myProcessHandler instanceof BaseProcessHandler<?>) { PtyProcess process = ObjectUtils.tryCast(((BaseProcessHandler<?>)myProcessHandler).getProcess(), PtyProcess.class); if (process != null) { return (char)process.getEnterKeyCode(); } } return LF; }