protected static @Nullable JBTerminalWidget getTerminalWidget(@NotNull AnActionEvent e) {
    return e.getDataContext().getData(JBTerminalWidget.TERMINAL_DATA_KEY);
  }
protected static @Nullable JBTerminalWidget getTerminalWidget(@NotNull AnActionEvent e)