@Override
      public void onTitleChanged(@NotNull TerminalTitle terminalTitle) {
        try {
          terminalFile.rename(null, terminalTitle.buildTitle());
        }
        catch (IOException exception) {
          throw new RuntimeException("Cannot rename");
        }
        FileEditorManager.getInstance(project).updateFilePresentation(terminalFile);
      }
@Override
      public void onTitleChanged(@NotNull TerminalTitle terminalTitle)