@Override
    protected void doExecute(@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext) {
      ThreadingAssertions.assertEventDispatchThread();
      ConsoleViewImpl console = getRunningConsole(dataContext);
      if (console != null) {
        execute(console, editor, dataContext);
      } else {
        myOriginalHandler.execute(editor, caret, dataContext);
      }
    }
@Override
    protected void doExecute(@NotNull Editor editor, @Nullable Caret caret, DataContext dataContext)