public static TerminalToolWindowManager getInstance(@NotNull Project project) {
    return project.getService(TerminalToolWindowManager.class);
  }
public static TerminalToolWindowManager getInstance(@NotNull Project project)