src/vs/workbench/contrib/terminal/browser/terminalProcessManager.ts/TerminalProcessManager/setDimensions
class TerminalProcessManager:	setDimensions(cols: number, rows: number, sync?: boolean): Promise<void> | void {
		if (sync) {
			this._resize(cols, rows);
			return;
		}

		return this.ptyProcessReady.then(() => this._resize(cols, rows));
	}