src/vs/workbench/contrib/terminal/browser/xterm/quickFixAddon.ts/TerminalQuickFixAddon/registerCommandFinishedListener
class TerminalQuickFixAddon:	registerCommandFinishedListener(options: ITerminalQuickFixOptions | IResolvedExtensionOptions): void {
		const matcherKey = options.commandLineMatcher.toString();
		let currentOptions = this._commandListeners.get(matcherKey) || [];
		// removes the unresolved options
		currentOptions = currentOptions.filter(o => o.id !== options.id);
		currentOptions.push(options);
		this._commandListeners.set(matcherKey, currentOptions);
	}