void (@NotNull ProcessEvent event, @NotNull Key outputType) { if (!myIsFirstLineAdded) { Objects.requireNonNull(RunAnythingUtil.getOrCreateWrappedCommands(getEnvironment().getProject())) .add(Pair.create(StringUtil.trim(event.getText()), originalCommand)); myIsFirstLineAdded = true; } }