void (@NotNull TtyConnector ttyConnector, @NotNull TermSize initialTermSize) { widget().getTerminal().resize(initialTermSize, RequestOrigin.User); widget().createTerminalSession(ttyConnector); widget().start(); widget().getComponent().revalidate(); widget().notifyStarted(); myTtyConnectorAccessor.setTtyConnector(ttyConnector); }