TtyConnector (@NotNull CloudTerminalProcess process) { return new ProcessTtyConnector(process, StandardCharsets.UTF_8) { @Override public void resize(@NotNull TermSize termSize) { if (myTtyResizeHandler != null) { myTtyResizeHandler.onTtyResizeRequest(termSize.getColumns(), termSize.getRows()); } } @Override public String getName() { return "Connector: " + myPipeName; } @Override public boolean isConnected() { return true; } }; }