public TerminalProvider createProvider(Plugin helpPlugin, Charset charset, VtOutput outputCb) {
		return Swing.runNow(() -> {
			cleanTerminated();
			TerminalProvider provider = new TerminalProvider(this, charset, helpPlugin);
			provider.setOutputCallback(outputCb);
			provider.addToTool();
			provider.setVisible(true);
			providers.add(provider);
			provider.setClipboardService(clipboardService);
			provider.toFront();
			return provider;
		});
	}
The plugin that provides {@link TerminalService}
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/terminal/TerminalPlugin.java