private @NotNull List<TerminalWidget> listTerminals() {
    Splitter rootSplitter = findRootSplitter();
    if (rootSplitter == null) {
      return List.of(myTerminalWidget);
    }
    List<TerminalWidget> terminals = new ArrayList<>();
    traverseSplitters(rootSplitter, terminals);
    return terminals;
  }
private @NotNull List<TerminalWidget> listTerminals()