src/vs/workbench/contrib/terminal/browser/xterm/commandNavigationAddon.ts/CommandNavigationAddon/_refreshActiveCapability
class CommandNavigationAddon:	private _refreshActiveCapability(store: ITerminalCapabilityStore) {
		const activeCommandDetection = store.get(TerminalCapability.CommandDetection) || store.get(TerminalCapability.PartialCommandDetection);
		if (activeCommandDetection !== this._commandDetection) {
			this._commandDetection = activeCommandDetection;
		}
	}