void () { myTerminalListener = myLoggingHandler.createTerminal(myLogPipeName, getOutputStream(), getInputStream(), getStderr()); if (myTerminalListener == null) { myTerminalListener = TerminalListener.NULL; } myTerminalListener.setTtyResizeHandler(getTtyResizeHandler()); hookTerminal(myTerminalListener); }