src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.ts/PartialCommandDetectionCapability/_onEnter
class PartialCommandDetectionCapability:	private _onEnter(): void {
		if (!this._terminal) {
			return;
		}
		if (this._terminal.buffer.active.cursorX >= Constants.MinimumPromptLength) {
			const marker = this._terminal.registerMarker(0);
			if (marker) {
				this._commands.push(marker);
				this._onCommandFinished.fire(marker);
			}
		}
	}