src/vs/platform/terminal/node/terminalProcess.ts/TerminalProcess/_doWrite
class TerminalProcess:	private _doWrite(): void {
		const object = this._writeQueue.shift()!;
		if (object.isBinary) {
			this._ptyProcess!.write(Buffer.from(object.data, 'binary') as any);
		} else {
			this._ptyProcess!.write(object.data);
		}
	}