src/vs/workbench/contrib/terminal/browser/xterm/commandNavigationAddon.ts/CommandNavigationAddon/_getCommandMarkers
class CommandNavigationAddon:	private _getCommandMarkers(): readonly IMarker[] {
		if (!this._commandDetection) {
			return [];
		}
		let commands: readonly IMarker[];
		if (this._commandDetection.type === TerminalCapability.PartialCommandDetection) {
			commands = this._commandDetection.commands;
		} else {
			commands = coalesce(this._commandDetection.commands.map(e => e.marker));
		}
		return commands;
	}