src/vs/platform/terminal/common/xterm/shellIntegrationAddon.ts/ShellIntegrationAddon/_createOrGetCommandDetection
class ShellIntegrationAddon:	protected _createOrGetCommandDetection(terminal: Terminal): ICommandDetectionCapability {
		let commandDetection = this.capabilities.get(TerminalCapability.CommandDetection);
		if (!commandDetection) {
			commandDetection = new CommandDetectionCapability(terminal, this._logService);
			this.capabilities.add(TerminalCapability.CommandDetection, commandDetection);
		}
		return commandDetection;
	}