src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/_safeSetOption
class TerminalInstance:	private _safeSetOption(key: string, value: any): void {
		if (!this._xterm) {
			return;
		}

		if (this._xterm.getOption(key) !== value) {
			this._xterm.setOption(key, value);
		}
	}