src/vs/workbench/contrib/terminal/browser/addons/commandTrackerAddon.ts/CommandTrackerAddon/_getLine
class CommandTrackerAddon:	private _getLine(xterm: Terminal, marker: IMarker | Boundary): number {
		// Use the _second last_ row as the last row is likely the prompt
		if (marker === Boundary.Bottom) {
			return xterm.buffer.active.baseY + xterm.rows - 1;
		}

		if (marker === Boundary.Top) {
			return 0;
		}

		return marker.line;
	}