void (@NotNull final ProcessHandler processHandler) { myProcessHandler = processHandler; ApplicationManager.getApplication().invokeAndWait(() -> { configureLeftBorder(false, getConsoleEditor()); // "bottom" part of console do not need padding now because it is used for user inputA notifyStateChangeListeners(); resetConsumer(new ProcessModeConsumer(processHandler)); // In process mode we do not need prompt and highlighting setLanguage(PlainTextLanguage.INSTANCE); setPrompt(""); }, ModalityState.nonModal()); }