src/vs/workbench/contrib/terminal/browser/addons/commandTrackerAddon.ts/CommandTrackerAddon/_scrollToMarker
class CommandTrackerAddon:	private _scrollToMarker(marker: IMarker, position: ScrollPosition): void {
		if (!this._terminal) {
			return;
		}
		let line = marker.line;
		if (position === ScrollPosition.Middle) {
			line = Math.max(line - Math.floor(this._terminal.rows / 2), 0);
		}
		this._terminal.scrollToLine(line);
	}