void (@NotNull TtyConnector ttyConnector) { super.setTtyConnector(ttyConnector); myTerminalTitle.change(terminalTitleState -> { if (terminalTitleState.getDefaultTitle() == null) { terminalTitleState.setDefaultTitle(getDefaultSessionName(ttyConnector)); } return null; }); }