src/vs/platform/terminal/common/capabilities/commandDetectionCapability.ts/CommandDetectionCapability/constructor
class CommandDetectionCapability:	constructor(
		private readonly _terminal: Terminal,
		@ILogService private readonly _logService: ILogService
	) {
		this._dimensions = {
			cols: this._terminal.cols,
			rows: this._terminal.rows
		};
		this._terminal.onResize(e => this._handleResize(e));
	}